Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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.001514/0.001514, allocations: 104 kB / 15.6 MB, free: 148 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.001668/0.001669, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 290.4 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 98.84 kB / 0.5953 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1786, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007292/0.1859, allocations: 4.409 MB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4883/0.6743, allocations: 150.6 MB / 0.8316 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007156/0.6751, allocations: 19.09 kB / 0.8317 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004891/0.6756, allocations: 174.6 kB / 0.8318 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.677, allocations: 0.513 MB / 0.8323 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.6786, allocations: 0.8384 MB / 0.8331 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001026/0.6797, allocations: 1.336 MB / 0.8344 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007631/0.6804, allocations: 0.6252 MB / 0.8351 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/0.681, allocations: 491.4 kB / 0.8355 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.6815, allocations: 0.5123 MB / 0.836 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.6816, allocations: 118.7 kB / 0.8361 GB, free: 280 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007593/0.6824, allocations: 456.9 kB / 0.8366 GB, free: 272 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.6826, allocations: 308.6 kB / 0.8369 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.683, allocations: 0.5628 MB / 0.8374 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.6846, allocations: 1.593 MB / 0.839 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6846, allocations: 4 kB / 0.839 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6846, allocations: 0 / 0.839 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.6846, allocations: 0 / 0.839 GB, free: 15.8 MB / 0.5762 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.002524/0.6871, allocations: 1.456 MB / 0.8404 GB, free: 15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.6872, allocations: 8.25 kB / 0.8404 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/0.6874, allocations: 135.9 kB / 0.8405 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009329/0.6883, allocations: 187.9 kB / 0.8407 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009755/0.6893, allocations: 0.7575 MB / 0.8415 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.6894, allocations: 63.69 kB / 0.8415 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6895, allocations: 82.44 kB / 0.8416 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.691, allocations: 0.9471 MB / 0.8425 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.691, allocations: 0 / 0.8425 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.732e-05/0.6911, allocations: 42.58 kB / 0.8426 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.6911, allocations: 24 kB / 0.8426 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.6928, allocations: 1.128 MB / 0.8437 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.6965, allocations: 2.544 MB / 0.8462 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.698, allocations: 0.9116 MB / 0.8471 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.6985, allocations: 306.7 kB / 0.8473 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.169e-05/0.6986, allocations: 36.8 kB / 0.8474 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008515/0.6995, allocations: 0.5058 MB / 0.8479 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.184e-06/0.6995, allocations: 2.219 kB / 0.8479 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003101/0.7026, allocations: 1.248 MB / 0.8491 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.7027, allocations: 194.2 kB / 0.8493 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000777/0.7035, allocations: 0.639 MB / 0.8499 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.53e-05/0.7036, allocations: 42.86 kB / 0.8499 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.7039, allocations: 399.9 kB / 0.8503 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.7041, allocations: 267 kB / 0.8506 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.7043, allocations: 152.9 kB / 0.8507 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.7045, allocations: 399.4 kB / 0.8511 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/0.705, allocations: 257.8 kB / 0.8514 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006187/0.7057, allocations: 369 kB / 0.8517 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.7068, allocations: 0.5965 MB / 0.8523 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.7068, allocations: 0 / 0.8523 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001925/0.7087, allocations: 0.8345 MB / 0.8531 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.7087, allocations: 11.88 kB / 0.8531 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7087, allocations: 0 / 0.8531 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.7093, allocations: 83.36 kB / 0.8532 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/0.71, allocations: 158.1 kB / 0.8533 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.7122, allocations: 1.628 MB / 0.8549 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007408/0.7129, allocations: 88.48 kB / 0.855 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/0.713, allocations: 31.41 kB / 0.8551 GB, free: 5.582 MB / 0.5762 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.0004303/0.7134, allocations: 273.6 kB / 0.8553 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.7136, allocations: 86.61 kB / 0.8554 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.7162, allocations: 1.138 MB / 0.8565 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.7162, allocations: 11.62 kB / 0.8565 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.7162, allocations: 2.562 kB / 0.8565 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.7162, allocations: 7.969 kB / 0.8565 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.7196, allocations: 2.024 MB / 0.8585 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.7196, allocations: 0 / 0.8585 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/0.7202, allocations: 162 kB / 0.8587 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000439/0.7206, allocations: 70.31 kB / 0.8587 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/0.7207, allocations: 30.23 kB / 0.8588 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.7226, allocations: 1.669 MB / 0.8604 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7226, allocations: 1.562 kB / 0.8604 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.7247, allocations: 1.039 MB / 0.8614 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/0.7252, allocations: 281 kB / 0.8617 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.7254, allocations: 21.75 kB / 0.8617 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007501/0.7261, allocations: 68.48 kB / 0.8618 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.7263, allocations: 82.8 kB / 0.8618 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-05/0.7264, allocations: 40.78 kB / 0.8619 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006451/0.7271, allocations: 463.8 kB / 0.8623 GB, free: 460 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7271, allocations: 0 / 0.8623 GB, free: 460 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001007/0.7281, allocations: 315 kB / 0.8626 GB, free: 368 kB / 0.5762 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.003938/0.732, allocations: 2.11 MB / 0.8647 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00243/0.7345, allocations: 1.051 MB / 0.8657 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7345, allocations: 4.188 kB / 0.8657 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009563/0.7355, allocations: 0.5407 MB / 0.8662 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.7368, allocations: 294.2 kB / 0.8665 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/0.7487, allocations: 6.715 MB / 0.8731 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/0.7494, allocations: 1.033 MB / 0.8741 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009164/0.7503, allocations: 283.1 kB / 0.8744 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/0.7509, allocations: 401.9 kB / 0.8747 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of SimCode: time 6.92e-07/0.7509, allocations: 4 kB / 0.8747 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5041/1.255, allocations: 21.65 MB / 0.8959 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/14.07, allocations: 6.641 kB / 0.8959 GB, free: 3.641 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)