Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 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.001113/0.001113, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.186/1.186, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.078/2.078, allocations: 390.3 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4823/0.4836, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004933/0.4886, allocations: 5.438 MB / 0.955 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1313/0.6199, allocations: 151.1 MB / 1.103 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009041/0.6209, allocations: 23.88 kB / 1.103 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006377/0.6215, allocations: 209.9 kB / 1.103 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.6235, allocations: 0.6773 MB / 1.103 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.6255, allocations: 0.9804 MB / 1.104 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001718/0.6272, allocations: 1.881 MB / 1.106 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.6284, allocations: 1.072 MB / 1.107 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008577/0.6293, allocations: 0.794 MB / 1.108 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008807/0.6302, allocations: 0.8673 MB / 1.109 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.6304, allocations: 208 kB / 1.109 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007841/0.6312, allocations: 0.5426 MB / 1.11 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003335/0.6316, allocations: 490.4 kB / 1.11 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006142/0.6322, allocations: 0.9017 MB / 1.111 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.634, allocations: 2.434 MB / 1.113 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.634, allocations: 4 kB / 1.113 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.372e-06/0.634, allocations: 0 / 1.113 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.634, allocations: 3.984 kB / 1.113 GB, free: 9.582 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003098/0.6371, allocations: 2.031 MB / 1.115 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.6372, allocations: 12.03 kB / 1.115 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000214/0.6374, allocations: 220.1 kB / 1.116 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008818/0.6383, allocations: 250.6 kB / 1.116 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.6393, allocations: 0.977 MB / 1.117 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.63e-05/0.6394, allocations: 111.1 kB / 1.117 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.6396, allocations: 152 kB / 1.117 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.6417, allocations: 1.584 MB / 1.119 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.6417, allocations: 0 / 1.119 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.6419, allocations: 64 kB / 1.119 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.6419, allocations: 40 kB / 1.119 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.6442, allocations: 1.635 MB / 1.12 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005237/0.6494, allocations: 4.15 MB / 1.124 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.6512, allocations: 1.185 MB / 1.126 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/0.652, allocations: 483.6 kB / 1.126 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.714e-05/0.6521, allocations: 45.08 kB / 1.126 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.6532, allocations: 0.7743 MB / 1.127 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=128): time 2.265e-06/0.6532, allocations: 4 kB / 1.127 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of matching and sorting (n=128): time 0.003736/0.6569, allocations: 1.834 MB / 1.129 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.657, allocations: 201.2 kB / 1.129 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/0.6579, allocations: 0.8614 MB / 1.13 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.658, allocations: 57.69 kB / 1.13 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/0.6584, allocations: 0.6132 MB / 1.13 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.6586, allocations: 406.2 kB / 1.131 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.6589, allocations: 238.8 kB / 1.131 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.659, allocations: 357.9 kB / 1.131 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/0.6598, allocations: 430.4 kB / 1.132 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008235/0.6606, allocations: 0.5526 MB / 1.132 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.6621, allocations: 0.9545 MB / 1.133 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6621, allocations: 4 kB / 1.133 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002369/0.6645, allocations: 1.293 MB / 1.134 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.6645, allocations: 7.938 kB / 1.134 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.6645, allocations: 0 / 1.134 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/0.6651, allocations: 84.84 kB / 1.134 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009594/0.666, allocations: 255.6 kB / 1.135 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1718/0.8378, allocations: 1.642 MB / 1.136 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.8389, allocations: 150.8 kB / 1.136 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.648e-05/0.839, allocations: 51.95 kB / 1.136 GB, free: 1.328 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0004281/0.8394, allocations: 344.2 kB / 1.137 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.8397, allocations: 126.5 kB / 1.137 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/0.8429, allocations: 1.702 MB / 1.139 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.8429, allocations: 19.98 kB / 1.139 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8429, allocations: 3.984 kB / 1.139 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.8429, allocations: 3.984 kB / 1.139 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.8442, allocations: 1.421 MB / 1.14 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.8442, allocations: 0 / 1.14 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00084/0.8451, allocations: 215.7 kB / 1.14 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/0.8455, allocations: 72.78 kB / 1.14 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.239e-05/0.8456, allocations: 39.97 kB / 1.14 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.8472, allocations: 1.681 MB / 1.142 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8472, allocations: 0 / 1.142 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.8497, allocations: 1.402 MB / 1.143 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/0.8501, allocations: 379 kB / 1.144 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.8502, allocations: 39.89 kB / 1.144 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008361/0.8511, allocations: 85.47 kB / 1.144 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/0.8513, allocations: 109.2 kB / 1.144 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.814e-05/0.8514, allocations: 59.95 kB / 1.144 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006947/0.8521, allocations: 0.6502 MB / 1.145 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8521, allocations: 0 / 1.145 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008312/0.8529, allocations: 458.6 kB / 1.145 GB, free: 8.289 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003729/0.8566, allocations: 2.469 MB / 1.147 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003352/0.86, allocations: 1.556 MB / 1.149 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.86, allocations: 0 / 1.149 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.8612, allocations: 0.7442 MB / 1.15 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.8623, allocations: 342.3 kB / 1.15 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.8757, allocations: 9.955 MB / 1.16 GB, free: 9.039 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.8763, allocations: 1.236 MB / 1.161 GB, free: 7.77 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008858/0.8772, allocations: 341.7 kB / 1.161 GB, free: 7.434 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007473/0.878, allocations: 0.6281 MB / 1.162 GB, free: 6.805 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.878, allocations: 0 / 1.162 GB, free: 6.805 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05186/0.9298, allocations: 29.82 MB / 1.191 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.89, allocations: 4 kB / 1.191 GB, free: 9.336 MB / 0.9512 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)