Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 110 kB / 16.37 MB, free: 6.016 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.001208/0.001208, allocations: 198.8 kB / 17.31 MB, free: 5.609 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002136, allocations: 280.8 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9599/0.9599, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 92.44 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.141, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005441/0.1465, allocations: 4.315 MB / 0.6858 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3774/0.5239, allocations: 150.5 MB / 0.8328 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006097/0.5245, allocations: 15.94 kB / 0.8328 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.525, allocations: 173.4 kB / 0.833 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.5264, allocations: 0.5053 MB / 0.8335 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.5281, allocations: 0.8273 MB / 0.8343 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.5292, allocations: 1.297 MB / 0.8356 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007845/0.53, allocations: 0.6311 MB / 0.8362 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/0.5304, allocations: 474.2 kB / 0.8366 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004716/0.5309, allocations: 493.8 kB / 0.8371 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.5311, allocations: 120 kB / 0.8372 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000689/0.5318, allocations: 487.6 kB / 0.8377 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.532, allocations: 303.1 kB / 0.838 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004255/0.5325, allocations: 0.5363 MB / 0.8385 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.5339, allocations: 1.615 MB / 0.8401 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5339, allocations: 4 kB / 0.8401 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5339, allocations: 0 / 0.8401 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.5339, allocations: 0 / 0.8401 GB, free: 11.97 MB / 0.6075 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.002216/0.5362, allocations: 1.403 MB / 0.8415 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.5362, allocations: 12.03 kB / 0.8415 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008598/0.5371, allocations: 179.4 kB / 0.8416 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.5381, allocations: 0.7659 MB / 0.8424 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.5382, allocations: 69.73 kB / 0.8424 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.5383, allocations: 87.98 kB / 0.8425 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.5397, allocations: 0.9183 MB / 0.8434 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.5398, allocations: 1.312 kB / 0.8434 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.571e-05/0.5398, allocations: 36 kB / 0.8435 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.5399, allocations: 20 kB / 0.8435 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.5416, allocations: 1.112 MB / 0.8446 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.5451, allocations: 2.481 MB / 0.847 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.5466, allocations: 0.8839 MB / 0.8479 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005205/0.5471, allocations: 314.6 kB / 0.8482 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.459e-05/0.5472, allocations: 40.53 kB / 0.8482 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007746/0.548, allocations: 487.2 kB / 0.8487 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 3.397e-06/0.548, allocations: 0 / 0.8487 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=79): time 0.002934/0.551, allocations: 1.19 MB / 0.8498 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/0.5511, allocations: 192.6 kB / 0.85 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006848/0.5518, allocations: 0.633 MB / 0.8506 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.5518, allocations: 49.64 kB / 0.8507 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.5521, allocations: 384.3 kB / 0.851 GB, free: 432 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.5523, allocations: 256.4 kB / 0.8513 GB, free: 172 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.5525, allocations: 166.4 kB / 0.8514 GB, free: 0 / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5527, allocations: 390.8 kB / 0.8518 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.5532, allocations: 265.8 kB / 0.8521 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/0.5538, allocations: 367.1 kB / 0.8524 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.5549, allocations: 0.6073 MB / 0.853 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5549, allocations: 0 / 0.853 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001837/0.5567, allocations: 0.841 MB / 0.8538 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.5568, allocations: 8 kB / 0.8538 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5568, allocations: 0 / 0.8538 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/0.5574, allocations: 88.8 kB / 0.8539 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.558, allocations: 159.8 kB / 0.8541 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.56, allocations: 1.638 MB / 0.8557 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006253/0.5606, allocations: 91.27 kB / 0.8558 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/0.5607, allocations: 39.97 kB / 0.8558 GB, free: 11.34 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (93): * Single equations (assignments): 92 * 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.0003442/0.5611, allocations: 279.4 kB / 0.8561 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.5612, allocations: 75.06 kB / 0.8561 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.5635, allocations: 1.057 MB / 0.8572 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.5636, allocations: 8 kB / 0.8572 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.5636, allocations: 0 / 0.8572 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.5636, allocations: 7.922 kB / 0.8572 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.5666, allocations: 1.958 MB / 0.8591 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5666, allocations: 3.828 kB / 0.8591 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/0.5672, allocations: 139.8 kB / 0.8592 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004362/0.5676, allocations: 84.77 kB / 0.8593 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/0.5677, allocations: 23.98 kB / 0.8593 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.5698, allocations: 1.666 MB / 0.861 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5698, allocations: 4.031 kB / 0.861 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.5717, allocations: 0.9941 MB / 0.8619 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003571/0.572, allocations: 271.7 kB / 0.8622 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.5722, allocations: 20 kB / 0.8622 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.5728, allocations: 64.62 kB / 0.8623 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.5729, allocations: 68.91 kB / 0.8623 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/0.573, allocations: 35.97 kB / 0.8624 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000502/0.5735, allocations: 455 kB / 0.8628 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5735, allocations: 0 / 0.8628 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007367/0.5743, allocations: 303.3 kB / 0.8631 GB, free: 3.602 MB / 0.6231 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.001271/0.5756, allocations: 0.5998 MB / 0.8637 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.5771, allocations: 0.8353 MB / 0.8645 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5771, allocations: 0 / 0.8645 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009409/0.5781, allocations: 0.5197 MB / 0.865 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.5791, allocations: 300.6 kB / 0.8653 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.5826, allocations: 1.724 MB / 0.867 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.5831, allocations: 1.023 MB / 0.868 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006907/0.5838, allocations: 262.4 kB / 0.8682 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.5841, allocations: 107.4 kB / 0.8683 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.5841, allocations: 0 / 0.8683 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of Templates: time 0.02199/0.6061, allocations: 14.73 MB / 0.8827 GB, free: 15.82 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)