Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009648/0.0009648, allocations: 207.8 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6113/0.6113, allocations: 115.3 MB / 406 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 57.84 kB / 493 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1141, allocations: 76.19 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005445/0.1196, allocations: 4.792 MB / 0.5605 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3293/0.4489, allocations: 148.3 MB / 0.7053 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006511/0.4496, allocations: 15.94 kB / 0.7054 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.4501, allocations: 149.7 kB / 0.7055 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.4513, allocations: 467.7 kB / 0.7059 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.4527, allocations: 0.7345 MB / 0.7067 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009143/0.4536, allocations: 1.284 MB / 0.7079 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006548/0.4543, allocations: 0.5749 MB / 0.7085 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003943/0.4547, allocations: 418.3 kB / 0.7089 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004045/0.4551, allocations: 489.7 kB / 0.7093 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.4552, allocations: 56 kB / 0.7094 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005557/0.4558, allocations: 400.9 kB / 0.7098 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.456, allocations: 235.1 kB / 0.71 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000355/0.4563, allocations: 0.4972 MB / 0.7105 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.4575, allocations: 1.549 MB / 0.712 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4575, allocations: 0 / 0.712 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.11e-07/0.4575, allocations: 1.875 kB / 0.712 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.4575, allocations: 0 / 0.712 GB, free: 6.926 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.00208/0.4596, allocations: 1.435 MB / 0.7134 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.4596, allocations: 8.031 kB / 0.7134 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.4598, allocations: 135.4 kB / 0.7135 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007952/0.4606, allocations: 179.4 kB / 0.7137 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008209/0.4614, allocations: 0.7463 MB / 0.7144 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.4615, allocations: 66 kB / 0.7145 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.202e-05/0.4616, allocations: 76 kB / 0.7146 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.4629, allocations: 0.9223 MB / 0.7155 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4629, allocations: 0 / 0.7155 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.463, allocations: 32 kB / 0.7155 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.463, allocations: 20 kB / 0.7155 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/0.4646, allocations: 1.116 MB / 0.7166 GB, free: 2.062 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.4678, allocations: 2.721 MB / 0.7193 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.4692, allocations: 0.8935 MB / 0.7201 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004729/0.4697, allocations: 311.4 kB / 0.7204 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.468e-05/0.4698, allocations: 28.61 kB / 0.7205 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007771/0.4706, allocations: 0.4911 MB / 0.7209 GB, free: 13.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=79): time 1.813e-06/0.4706, allocations: 0 / 0.7209 GB, free: 13.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=79): time 0.002716/0.4733, allocations: 1.19 MB / 0.7221 GB, free: 12.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.4734, allocations: 192.6 kB / 0.7223 GB, free: 12.01 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.474, allocations: 0.6253 MB / 0.7229 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.4741, allocations: 41.7 kB / 0.7229 GB, free: 11.33 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.4743, allocations: 392.4 kB / 0.7233 GB, free: 10.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.4745, allocations: 260.3 kB / 0.7236 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.4747, allocations: 142.5 kB / 0.7237 GB, free: 10.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4748, allocations: 390.7 kB / 0.7241 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.4753, allocations: 249.9 kB / 0.7243 GB, free: 9.902 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.4758, allocations: 358.5 kB / 0.7247 GB, free: 9.527 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009299/0.4767, allocations: 0.5799 MB / 0.7252 GB, free: 8.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4767, allocations: 4 kB / 0.7252 GB, free: 8.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001622/0.4784, allocations: 0.798 MB / 0.726 GB, free: 8.125 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4784, allocations: 4 kB / 0.726 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4784, allocations: 0 / 0.726 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.479, allocations: 84.81 kB / 0.7261 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.4795, allocations: 155.7 kB / 0.7262 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.4812, allocations: 1.531 MB / 0.7277 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.4818, allocations: 94.08 kB / 0.7278 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/0.4819, allocations: 31.97 kB / 0.7279 GB, free: 6.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 prepare postOptimizeDAE: time 0.000297/0.4822, allocations: 258.3 kB / 0.7281 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.4823, allocations: 87 kB / 0.7282 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.4844, allocations: 1.062 MB / 0.7292 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4844, allocations: 12 kB / 0.7292 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4844, allocations: 0 / 0.7292 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4844, allocations: 4.047 kB / 0.7292 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.4872, allocations: 1.963 MB / 0.7312 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4872, allocations: 11.86 kB / 0.7312 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.4877, allocations: 143.8 kB / 0.7313 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/0.4882, allocations: 80.78 kB / 0.7314 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.4882, allocations: 31.72 kB / 0.7314 GB, free: 2.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.4898, allocations: 1.555 MB / 0.7329 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4898, allocations: 0 / 0.7329 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.4915, allocations: 0.9921 MB / 0.7339 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.4918, allocations: 279.7 kB / 0.7342 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.4919, allocations: 16 kB / 0.7342 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/0.4926, allocations: 67.88 kB / 0.7342 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.4927, allocations: 68.89 kB / 0.7343 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/0.4928, allocations: 35.98 kB / 0.7343 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004588/0.4932, allocations: 455 kB / 0.7348 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4932, allocations: 0 / 0.7348 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006805/0.4939, allocations: 319.2 kB / 0.7351 GB, free: 14.44 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003036/0.497, allocations: 2.039 MB / 0.7371 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.4984, allocations: 0.7924 MB / 0.7378 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4984, allocations: 8 kB / 0.7379 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008015/0.4992, allocations: 0.508 MB / 0.7384 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.5003, allocations: 267.3 kB / 0.7386 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009715/0.51, allocations: 6.789 MB / 0.7452 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.5105, allocations: 1.028 MB / 0.7462 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007071/0.5112, allocations: 266.7 kB / 0.7465 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/0.5117, allocations: 363.3 kB / 0.7468 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.5117, allocations: 0 / 0.7468 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.057/1.569, allocations: 20.55 MB / 0.7669 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/1.569, allocations: 295.8 kB / 0.7672 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/4.132, allocations: 3.938 kB / 0.7672 GB, free: 13.82 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)