Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00099/0.00099, allocations: 82.05 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 169.7 kB / 23.27 MB, free: 1.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9985/0.9985, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001685/0.001685, allocations: 241.1 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6778/0.6778, allocations: 138.4 MB / 455.5 MB, free: 1.352 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.5556 GB, free: 260 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.322e-05, allocations: 2.312 kB / 0.5556 GB, free: 256 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.003925/0.003948, allocations: 3.597 MB / 0.5591 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00387/0.007817, allocations: 3.642 MB / 0.5626 GB, free: 8.977 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.008135, allocations: 11.88 kB / 0.5626 GB, free: 8.965 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.008536, allocations: 122.9 kB / 0.5628 GB, free: 8.844 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.009655, allocations: 0.5125 MB / 0.5633 GB, free: 8.328 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.01028, allocations: 375 kB / 0.5636 GB, free: 7.961 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000717/0.011, allocations: 0.7953 MB / 0.5644 GB, free: 7.164 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.01121, allocations: 130.4 kB / 0.5645 GB, free: 7.035 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007307/0.01194, allocations: 459 kB / 0.565 GB, free: 6.586 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.01227, allocations: 267.2 kB / 0.5652 GB, free: 6.324 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.028e-05/0.01234, allocations: 68 kB / 0.5653 GB, free: 6.258 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.01335, allocations: 0.5499 MB / 0.5658 GB, free: 5.707 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.01348, allocations: 167.5 kB / 0.566 GB, free: 5.543 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.01364, allocations: 219.4 kB / 0.5662 GB, free: 5.328 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009777/0.01461, allocations: 0.9226 MB / 0.5671 GB, free: 4.402 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01462, allocations: 4 kB / 0.5671 GB, free: 4.398 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01462, allocations: 0 / 0.5671 GB, free: 4.398 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.01463, allocations: 0 / 0.5671 GB, free: 4.398 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001205/0.01583, allocations: 1.068 MB / 0.5681 GB, free: 3.289 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.01587, allocations: 12.75 kB / 0.5681 GB, free: 3.277 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.01697, allocations: 352 kB / 0.5685 GB, free: 2.934 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.01739, allocations: 433 kB / 0.5689 GB, free: 2.484 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.01751, allocations: 199.8 kB / 0.5691 GB, free: 2.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.01757, allocations: 44.38 kB / 0.5691 GB, free: 2.207 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.01814, allocations: 0.5191 MB / 0.5696 GB, free: 1.656 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.01815, allocations: 0 / 0.5696 GB, free: 1.656 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.01819, allocations: 23.98 kB / 0.5696 GB, free: 1.633 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.0182, allocations: 12 kB / 0.5697 GB, free: 1.621 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.01854, allocations: 278.7 kB / 0.5699 GB, free: 1.348 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.02025, allocations: 1.321 MB / 0.5712 GB, free: 0 / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008402/0.02109, allocations: 389.9 kB / 0.5716 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.02128, allocations: 137.1 kB / 0.5717 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004696/0.02175, allocations: 212.1 kB / 0.5719 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.02204, allocations: 231.7 kB / 0.5721 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 1.733e-06/0.02204, allocations: 0 / 0.5721 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.0008175/0.02286, allocations: 472.5 kB / 0.5726 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.02291, allocations: 111.3 kB / 0.5727 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.02328, allocations: 435.6 kB / 0.5731 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.02332, allocations: 37.7 kB / 0.5732 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.02353, allocations: 335.7 kB / 0.5735 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.02366, allocations: 182.4 kB / 0.5736 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.02384, allocations: 127.8 kB / 0.5738 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.02402, allocations: 0.539 MB / 0.5743 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.02419, allocations: 89.22 kB / 0.5744 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.02464, allocations: 325.2 kB / 0.5747 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.02512, allocations: 373.3 kB / 0.575 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.02513, allocations: 0 / 0.575 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007164/0.02584, allocations: 456.9 kB / 0.5755 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.02586, allocations: 4 kB / 0.5755 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.02587, allocations: 4 kB / 0.5755 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.02589, allocations: 8 kB / 0.5755 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/0.02859, allocations: 0.5269 MB / 0.576 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.03008, allocations: 1.976 MB / 0.5779 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.03042, allocations: 70.3 kB / 0.578 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.03046, allocations: 23.97 kB / 0.578 GB, free: 8.645 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 4 (radiation.outsidePolarCircle,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.03066, allocations: 192.4 kB / 0.5782 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.03078, allocations: 71.62 kB / 0.5783 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.03204, allocations: 0.6311 MB / 0.5789 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.03204, allocations: 4 kB / 0.5789 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.03205, allocations: 0 / 0.5789 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.03205, allocations: 3.984 kB / 0.5789 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.03371, allocations: 1.061 MB / 0.5799 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.03371, allocations: 0 / 0.5799 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.0341, allocations: 127.8 kB / 0.5801 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006582/0.03476, allocations: 131.5 kB / 0.5802 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.0348, allocations: 23.97 kB / 0.5802 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.03611, allocations: 1.926 MB / 0.5821 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.03612, allocations: 3.938 kB / 0.5821 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.03721, allocations: 0.6672 MB / 0.5827 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.03742, allocations: 131.3 kB / 0.5829 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.03748, allocations: 15.98 kB / 0.5829 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.03774, allocations: 27.98 kB / 0.5829 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/0.03784, allocations: 52.55 kB / 0.583 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.03789, allocations: 19.98 kB / 0.583 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001933/0.03808, allocations: 267 kB / 0.5832 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.81e-07/0.03808, allocations: 0 / 0.5832 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007354/0.03882, allocations: 263.3 kB / 0.5835 GB, free: 2.832 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/0.04001, allocations: 0.5758 MB / 0.5841 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002093/0.0421, allocations: 0.6066 MB / 0.5846 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.0421, allocations: 4 kB / 0.5846 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000508/0.04261, allocations: 385.5 kB / 0.585 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.04304, allocations: 93.19 kB / 0.5851 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.04469, allocations: 0.9874 MB / 0.5861 GB, free: 288 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.0448, allocations: 144.8 kB / 0.5862 GB, free: 124 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000416/0.04521, allocations: 124.3 kB / 0.5863 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/0.04557, allocations: 194 kB / 0.5865 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of SimCode: time 8.51e-07/0.04557, allocations: 0 / 0.5865 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.02696/0.07254, allocations: 10.81 MB / 0.5971 GB, free: 5.086 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.241593132726848]