Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_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.0008396/0.0008396, allocations: 93.34 kB / 16.02 MB, free: 84 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.0008786/0.0008785, allocations: 185 kB / 16.92 MB, free: 6.891 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.202/1.202, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6239/0.6239, allocations: 115.5 MB / 407.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002615/0.0002615, allocations: 12.48 kB / 495.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1145, allocations: 77.54 MB / 0.56 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004697/0.1193, allocations: 4.474 MB / 0.5644 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3432/0.4624, allocations: 146.7 MB / 0.7077 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006378/0.4631, allocations: 15.94 kB / 0.7077 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005086/0.4636, allocations: 154.8 kB / 0.7079 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.4651, allocations: 491 kB / 0.7083 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.4667, allocations: 0.74 MB / 0.7091 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.468, allocations: 1.323 MB / 0.7103 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007581/0.4688, allocations: 0.5604 MB / 0.7109 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005129/0.4693, allocations: 370.2 kB / 0.7112 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005025/0.4698, allocations: 409.8 kB / 0.7116 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.4699, allocations: 28 kB / 0.7117 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006358/0.4705, allocations: 371.6 kB / 0.712 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.4707, allocations: 195 kB / 0.7122 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004034/0.4711, allocations: 486.8 kB / 0.7127 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.4725, allocations: 1.526 MB / 0.7142 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4725, allocations: 4 kB / 0.7142 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.22e-07/0.4725, allocations: 3.938 kB / 0.7142 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.445e-05/0.4725, allocations: 0 / 0.7142 GB, free: 8.727 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002132/0.4747, allocations: 1.242 MB / 0.7154 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.4747, allocations: 8.031 kB / 0.7154 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.4749, allocations: 143.5 kB / 0.7155 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008154/0.4757, allocations: 199.3 kB / 0.7157 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008823/0.4766, allocations: 0.7586 MB / 0.7165 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.4766, allocations: 62 kB / 0.7165 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.4767, allocations: 84 kB / 0.7166 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.4781, allocations: 0.9457 MB / 0.7175 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.4782, allocations: 0 / 0.7175 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-05/0.4782, allocations: 32 kB / 0.7175 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.4783, allocations: 23.98 kB / 0.7176 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.4799, allocations: 1.136 MB / 0.7187 GB, free: 3.965 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.003467/0.4833, allocations: 2.79 MB / 0.7214 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.4847, allocations: 0.9081 MB / 0.7223 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/0.4853, allocations: 330.6 kB / 0.7226 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.999e-05/0.4854, allocations: 36.55 kB / 0.7226 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007955/0.4862, allocations: 0.5158 MB / 0.7231 GB, free: 15.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 1.753e-06/0.4862, allocations: 0 / 0.7231 GB, free: 15.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=84): time 0.002885/0.4891, allocations: 1.27 MB / 0.7244 GB, free: 13.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/0.4892, allocations: 192.9 kB / 0.7246 GB, free: 13.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.4898, allocations: 0.641 MB / 0.7252 GB, free: 13.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/0.4899, allocations: 45.7 kB / 0.7252 GB, free: 13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.4902, allocations: 400.4 kB / 0.7256 GB, free: 12.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.4903, allocations: 272.1 kB / 0.7259 GB, free: 12.33 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-05/0.4904, allocations: 65.69 kB / 0.7259 GB, free: 12.26 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4906, allocations: 386.7 kB / 0.7263 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.4911, allocations: 257.9 kB / 0.7266 GB, free: 11.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.4916, allocations: 382.5 kB / 0.7269 GB, free: 11.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009795/0.4926, allocations: 0.6048 MB / 0.7275 GB, free: 10.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4926, allocations: 3.938 kB / 0.7275 GB, free: 10.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001662/0.4943, allocations: 0.837 MB / 0.7283 GB, free: 9.754 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4943, allocations: 4 kB / 0.7283 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4943, allocations: 4.031 kB / 0.7283 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.4949, allocations: 88.77 kB / 0.7284 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.4955, allocations: 162 kB / 0.7286 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.4972, allocations: 1.518 MB / 0.7301 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.4978, allocations: 105 kB / 0.7302 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.4979, allocations: 31.97 kB / 0.7302 GB, free: 7.715 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0003181/0.4982, allocations: 273.8 kB / 0.7305 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.4983, allocations: 86.95 kB / 0.7305 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.5006, allocations: 1.14 MB / 0.7316 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5006, allocations: 8 kB / 0.7317 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.5006, allocations: 0 / 0.7317 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.5007, allocations: 23.91 kB / 0.7317 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/0.5035, allocations: 2.021 MB / 0.7337 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5035, allocations: 3.938 kB / 0.7337 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.5041, allocations: 159.7 kB / 0.7338 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/0.5046, allocations: 88.72 kB / 0.7339 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.5046, allocations: 27.97 kB / 0.7339 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.5062, allocations: 1.54 MB / 0.7354 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5062, allocations: 0 / 0.7354 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.508, allocations: 1.058 MB / 0.7365 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.5084, allocations: 295.5 kB / 0.7367 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.5085, allocations: 27.94 kB / 0.7368 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006842/0.5092, allocations: 91.75 kB / 0.7369 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.5093, allocations: 80.88 kB / 0.7369 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/0.5094, allocations: 31.98 kB / 0.737 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004746/0.5099, allocations: 463 kB / 0.7374 GB, free: 68 kB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.5099, allocations: 4 kB / 0.7374 GB, free: 64 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007261/0.5106, allocations: 327.2 kB / 0.7377 GB, free: 15.74 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00313/0.5137, allocations: 2.103 MB / 0.7398 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.5152, allocations: 0.8396 MB / 0.7406 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5152, allocations: 0 / 0.7406 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008571/0.5161, allocations: 0.5471 MB / 0.7411 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.5172, allocations: 272.4 kB / 0.7414 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.5275, allocations: 7.067 MB / 0.7483 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.528, allocations: 1.024 MB / 0.7493 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007426/0.5287, allocations: 271 kB / 0.7495 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000503/0.5293, allocations: 407.3 kB / 0.7499 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.5293, allocations: 0 / 0.7499 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7976/1.327, allocations: 20.86 MB / 0.7703 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/1.327, allocations: 305.2 kB / 0.7706 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.779, allocations: 64 / 0.7706 GB, free: 14.39 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)