Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_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.0008594/0.0008591, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00473/0.00473, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.171/1.171, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.252/2.252, allocations: 443.3 MB / 0.7176 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002827, allocations: 9.344 kB / 0.8797 GB, free: 41.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2052, allocations: 155.2 MB / 1.031 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004284/0.2095, allocations: 4.409 MB / 1.036 GB, free: 15.83 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.1505/0.36, allocations: 146.7 MB / 1.179 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.3604, allocations: 15.94 kB / 1.179 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.3608, allocations: 150.8 kB / 1.179 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009519/0.3617, allocations: 460.9 kB / 1.179 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.3629, allocations: 0.7332 MB / 1.18 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009552/0.3638, allocations: 1.273 MB / 1.181 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006658/0.3645, allocations: 0.5671 MB / 1.182 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.3649, allocations: 350.3 kB / 1.182 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.3652, allocations: 385.9 kB / 1.183 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.3653, allocations: 28 kB / 1.183 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004849/0.3658, allocations: 367.7 kB / 1.183 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.366, allocations: 191.1 kB / 1.183 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003167/0.3663, allocations: 470.9 kB / 1.184 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.3674, allocations: 1.503 MB / 1.185 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.3675, allocations: 0 / 1.185 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3675, allocations: 0 / 1.185 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.3675, allocations: 0 / 1.185 GB, free: 6.102 MB / 0.9356 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.001797/0.3693, allocations: 1.217 MB / 1.186 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.3693, allocations: 8.031 kB / 1.186 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.3695, allocations: 139.3 kB / 1.186 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007823/0.3702, allocations: 199.4 kB / 1.187 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008394/0.3711, allocations: 0.7381 MB / 1.187 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.3711, allocations: 62 kB / 1.187 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.815e-05/0.3712, allocations: 80 kB / 1.187 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.3726, allocations: 0.9223 MB / 1.188 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3726, allocations: 0 / 1.188 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.48e-05/0.3727, allocations: 44 kB / 1.188 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.3727, allocations: 23.98 kB / 1.188 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.3742, allocations: 1.112 MB / 1.19 GB, free: 1.422 MB / 0.9356 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.003358/0.3776, allocations: 2.767 MB / 1.192 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.379, allocations: 0.9058 MB / 1.193 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004951/0.3795, allocations: 306.7 kB / 1.193 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-05/0.3796, allocations: 40.59 kB / 1.193 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007419/0.3803, allocations: 491.2 kB / 1.194 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=79): time 1.783e-06/0.3803, allocations: 0 / 1.194 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=79): time 0.002703/0.383, allocations: 1.213 MB / 1.195 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.3831, allocations: 192.6 kB / 1.195 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000635/0.3838, allocations: 0.6137 MB / 1.196 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.3838, allocations: 41.7 kB / 1.196 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.3841, allocations: 396.3 kB / 1.196 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.3842, allocations: 256.3 kB / 1.197 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.3843, allocations: 61.69 kB / 1.197 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3844, allocations: 390.7 kB / 1.197 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.3849, allocations: 253.9 kB / 1.197 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/0.3854, allocations: 362.5 kB / 1.198 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009358/0.3864, allocations: 0.5916 MB / 1.198 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3864, allocations: 0 / 1.198 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001619/0.388, allocations: 0.8098 MB / 1.199 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.388, allocations: 4 kB / 1.199 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.388, allocations: 4 kB / 1.199 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/0.3886, allocations: 84.8 kB / 1.199 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.3891, allocations: 155.7 kB / 1.199 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.3909, allocations: 1.539 MB / 1.201 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005744/0.3914, allocations: 99.39 kB / 1.201 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.3915, allocations: 31.97 kB / 1.201 GB, free: 5.418 MB / 0.9512 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.000301/0.3918, allocations: 263.4 kB / 1.201 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3919, allocations: 86.89 kB / 1.201 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.394, allocations: 1.073 MB / 1.202 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.394, allocations: 12 kB / 1.202 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.394, allocations: 0 / 1.202 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.3941, allocations: 3.984 kB / 1.202 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.3968, allocations: 1.982 MB / 1.204 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3968, allocations: 0 / 1.204 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.3973, allocations: 143.8 kB / 1.204 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/0.3978, allocations: 84.77 kB / 1.204 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/0.3979, allocations: 31.98 kB / 1.204 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.3994, allocations: 1.556 MB / 1.206 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3994, allocations: 0 / 1.206 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.4011, allocations: 1.012 MB / 1.207 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.4014, allocations: 287.7 kB / 1.207 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.623e-05/0.4015, allocations: 23.94 kB / 1.207 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006306/0.4022, allocations: 76.55 kB / 1.207 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.4023, allocations: 72.89 kB / 1.207 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/0.4024, allocations: 35.97 kB / 1.207 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004487/0.4028, allocations: 455 kB / 1.208 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4028, allocations: 0 / 1.208 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006568/0.4035, allocations: 315.2 kB / 1.208 GB, free: 13.68 MB / 0.9669 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.002939/0.4065, allocations: 2.058 MB / 1.21 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.4078, allocations: 0.8039 MB / 1.211 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4078, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007971/0.4086, allocations: 0.5315 MB / 1.211 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.4098, allocations: 268.1 kB / 1.212 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009648/0.4194, allocations: 6.836 MB / 1.218 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.4199, allocations: 1.012 MB / 1.219 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0006806/0.4206, allocations: 262.7 kB / 1.22 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.421, allocations: 379.3 kB / 1.22 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.421, allocations: 0 / 1.22 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.874/4.295, allocations: 20.26 MB / 1.24 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/4.295, allocations: 299.4 kB / 1.24 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/6.408, allocations: 0 / 1.24 GB, free: 13.32 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)