Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_9_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.0008551/0.0008552, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004707/0.004708, allocations: 169.9 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.061/2.061, allocations: 390.9 MB / 0.6664 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002833, allocations: 11.98 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.4988, allocations: 142.4 MB / 0.9552 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.003317/0.5021, allocations: 3.907 MB / 0.959 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1306/0.6327, allocations: 146.6 MB / 1.102 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.6331, allocations: 19.88 kB / 1.102 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.6334, allocations: 135 kB / 1.102 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009111/0.6344, allocations: 439.3 kB / 1.103 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.6355, allocations: 0.7073 MB / 1.103 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009113/0.6365, allocations: 1.215 MB / 1.105 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006846/0.6372, allocations: 0.5941 MB / 1.105 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.6375, allocations: 334.3 kB / 1.106 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.6379, allocations: 374 kB / 1.106 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.6379, allocations: 24 kB / 1.106 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005034/0.6385, allocations: 371.6 kB / 1.106 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.6386, allocations: 191.1 kB / 1.106 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.6389, allocations: 454.9 kB / 1.107 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.6401, allocations: 1.479 MB / 1.108 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6401, allocations: 0 / 1.108 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6401, allocations: 0 / 1.108 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.6401, allocations: 0 / 1.108 GB, free: 1.898 MB / 0.8575 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.001805/0.6419, allocations: 1.196 MB / 1.109 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.6419, allocations: 12.03 kB / 1.11 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.6421, allocations: 135.4 kB / 1.11 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007947/0.6429, allocations: 195.4 kB / 1.11 GB, free: 320 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.6437, allocations: 0.742 MB / 1.111 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.6438, allocations: 62 kB / 1.111 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/0.6439, allocations: 84 kB / 1.111 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.6452, allocations: 0.9184 MB / 1.112 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.6453, allocations: 0 / 1.112 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/0.6453, allocations: 40 kB / 1.112 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.6454, allocations: 20 kB / 1.112 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.6469, allocations: 1.116 MB / 1.113 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.6502, allocations: 2.557 MB / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.6516, allocations: 0.8988 MB / 1.116 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000492/0.6521, allocations: 310.6 kB / 1.116 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.438e-05/0.6522, allocations: 36.59 kB / 1.116 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007477/0.6529, allocations: 0.4905 MB / 1.117 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 1.673e-06/0.6529, allocations: 4 kB / 1.117 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.002717/0.6556, allocations: 1.202 MB / 1.118 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.6557, allocations: 192.6 kB / 1.118 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/0.6564, allocations: 0.6253 MB / 1.119 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.6564, allocations: 45.7 kB / 1.119 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.6567, allocations: 396.2 kB / 1.119 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.6569, allocations: 252.5 kB / 1.12 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.6569, allocations: 61.69 kB / 1.12 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6571, allocations: 386.7 kB / 1.12 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.6575, allocations: 253.9 kB / 1.12 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/0.6581, allocations: 362.6 kB / 1.121 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000958/0.659, allocations: 0.5877 MB / 1.121 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.659, allocations: 0 / 1.121 GB, free: 4.375 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00162/0.6607, allocations: 0.8136 MB / 1.122 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.6607, allocations: 4 kB / 1.122 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6607, allocations: 0 / 1.122 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/0.6612, allocations: 84.81 kB / 1.122 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/0.6618, allocations: 155.8 kB / 1.122 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.6635, allocations: 1.54 MB / 1.124 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/0.6641, allocations: 104.8 kB / 1.124 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.6641, allocations: 27.98 kB / 1.124 GB, free: 1.496 MB / 0.8731 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.0003028/0.6645, allocations: 265.6 kB / 1.124 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.6646, allocations: 90.91 kB / 1.124 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.6667, allocations: 1.069 MB / 1.125 GB, free: 52 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.6667, allocations: 8 kB / 1.125 GB, free: 44 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.6667, allocations: 0 / 1.125 GB, free: 44 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.6667, allocations: 3.984 kB / 1.125 GB, free: 40 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.6695, allocations: 1.961 MB / 1.127 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6695, allocations: 0 / 1.127 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.67, allocations: 147.8 kB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/0.6705, allocations: 88.77 kB / 1.127 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/0.6705, allocations: 19.98 kB / 1.127 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.6721, allocations: 1.571 MB / 1.129 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6721, allocations: 0 / 1.129 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.6739, allocations: 1.004 MB / 1.13 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.6742, allocations: 291.6 kB / 1.13 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.6743, allocations: 23.94 kB / 1.13 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006429/0.6749, allocations: 80.53 kB / 1.13 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.6751, allocations: 68.84 kB / 1.13 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.6751, allocations: 39.97 kB / 1.13 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004743/0.6756, allocations: 455 kB / 1.131 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.442e-06/0.6756, allocations: 0 / 1.131 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006331/0.6763, allocations: 307.2 kB / 1.131 GB, free: 9.781 MB / 0.8887 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.003035/0.6793, allocations: 2.05 MB / 1.133 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.6807, allocations: 0.8001 MB / 1.134 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6807, allocations: 4.188 kB / 1.134 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008116/0.6815, allocations: 0.5235 MB / 1.134 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.6826, allocations: 260.3 kB / 1.135 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.6935, allocations: 6.976 MB / 1.141 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.694, allocations: 1.019 MB / 1.142 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006984/0.6947, allocations: 258.6 kB / 1.143 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/0.6952, allocations: 371.3 kB / 1.143 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.6952, allocations: 0 / 1.143 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.206/4.901, allocations: 19.83 MB / 1.162 GB, free: 10.07 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/4.902, allocations: 295.4 kB / 1.163 GB, free: 9.691 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/7.01, allocations: 5.562 kB / 1.163 GB, free: 9.688 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)