Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001879/0.001879, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00212/0.00212, allocations: 191 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.577/2.577, allocations: 222.9 MB / 239.9 MB, free: 4.527 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 4.387/4.387, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.003171/0.003171, allocations: 63.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266/1.269, allocations: 140.4 MB / 0.9492 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.01057/1.28, allocations: 4.303 MB / 0.9534 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3174/1.597, allocations: 148.3 MB / 1.098 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/1.599, allocations: 19.88 kB / 1.098 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/1.601, allocations: 131 kB / 1.098 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004405/1.605, allocations: 459.2 kB / 1.099 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00457/1.61, allocations: 0.7342 MB / 1.1 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003531/1.614, allocations: 1.277 MB / 1.101 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/1.616, allocations: 0.614 MB / 1.101 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/1.617, allocations: 458.4 kB / 1.102 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/1.619, allocations: 0.4918 MB / 1.102 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000541/1.62, allocations: 112 kB / 1.102 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/1.622, allocations: 455.7 kB / 1.103 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006929/1.623, allocations: 299 kB / 1.103 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/1.624, allocations: 0.5323 MB / 1.104 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004833/1.629, allocations: 1.542 MB / 1.105 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/1.629, allocations: 0 / 1.105 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.598e-06/1.629, allocations: 0 / 1.105 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.803e-05/1.629, allocations: 0 / 1.105 GB, free: 1.762 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.006208/1.635, allocations: 1.407 MB / 1.107 GB, free: 312 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.831e-05/1.635, allocations: 8.031 kB / 1.107 GB, free: 304 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004488/1.636, allocations: 135.3 kB / 1.107 GB, free: 160 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/1.638, allocations: 183.4 kB / 1.107 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/1.64, allocations: 0.7381 MB / 1.108 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/1.64, allocations: 61.98 kB / 1.108 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/1.64, allocations: 84 kB / 1.108 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/1.643, allocations: 0.8989 MB / 1.109 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/1.643, allocations: 4 kB / 1.109 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/1.644, allocations: 32 kB / 1.109 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/1.644, allocations: 20 kB / 1.109 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003165/1.647, allocations: 1.1 MB / 1.11 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007835/1.655, allocations: 2.461 MB / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/1.657, allocations: 0.8629 MB / 1.113 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008902/1.658, allocations: 302.7 kB / 1.113 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/1.658, allocations: 32.56 kB / 1.113 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/1.66, allocations: 491.1 kB / 1.114 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 5.36e-06/1.66, allocations: 0 / 1.114 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.004943/1.665, allocations: 1.174 MB / 1.115 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000185/1.665, allocations: 192.6 kB / 1.115 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/1.667, allocations: 0.6176 MB / 1.116 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/1.667, allocations: 45.64 kB / 1.116 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005722/1.667, allocations: 396.3 kB / 1.116 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004811/1.668, allocations: 252.3 kB / 1.116 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004015/1.668, allocations: 142.5 kB / 1.116 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002983/1.669, allocations: 390.7 kB / 1.117 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008146/1.669, allocations: 241.9 kB / 1.117 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/1.67, allocations: 350.6 kB / 1.117 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/1.672, allocations: 0.5721 MB / 1.118 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.672, allocations: 0 / 1.118 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003201/1.675, allocations: 0.7902 MB / 1.119 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/1.675, allocations: 8 kB / 1.119 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/1.675, allocations: 0 / 1.119 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009549/1.676, allocations: 80.88 kB / 1.119 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009891/1.677, allocations: 147.8 kB / 1.119 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/1.681, allocations: 1.638 MB / 1.121 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/1.682, allocations: 91.42 kB / 1.121 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/1.682, allocations: 27.98 kB / 1.121 GB, free: 1.289 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.0008311/1.683, allocations: 265.5 kB / 1.121 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004895/1.684, allocations: 79.06 kB / 1.121 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/1.688, allocations: 1.05 MB / 1.122 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/1.688, allocations: 11.98 kB / 1.122 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/1.688, allocations: 0 / 1.122 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/1.688, allocations: 11.92 kB / 1.122 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005501/1.693, allocations: 1.899 MB / 1.124 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-05/1.693, allocations: 4.047 kB / 1.124 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009463/1.694, allocations: 151.8 kB / 1.124 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005146/1.695, allocations: 64.8 kB / 1.124 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-05/1.695, allocations: 27.97 kB / 1.124 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002926/1.698, allocations: 1.658 MB / 1.126 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.698, allocations: 11.98 kB / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003859/1.702, allocations: 0.9726 MB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008096/1.703, allocations: 275.7 kB / 1.127 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/1.703, allocations: 19.94 kB / 1.127 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.704, allocations: 66.03 kB / 1.127 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/1.705, allocations: 72.84 kB / 1.127 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/1.705, allocations: 35.98 kB / 1.127 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001219/1.706, allocations: 455 kB / 1.128 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of sort global known variables: time 6.51e-07/1.706, allocations: 0 / 1.128 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001688/1.708, allocations: 299.2 kB / 1.128 GB, free: 9.629 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.007211/1.715, allocations: 2.033 MB / 1.13 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004618/1.72, allocations: 0.9796 MB / 1.131 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.72, allocations: 0 / 1.131 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/1.721, allocations: 0.5121 MB / 1.131 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.724, allocations: 293.5 kB / 1.132 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/1.747, allocations: 6.824 MB / 1.138 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/1.748, allocations: 1.012 MB / 1.139 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001733/1.75, allocations: 258.6 kB / 1.14 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.751, allocations: 387.2 kB / 1.14 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of SimCode: time 1.423e-06/1.751, allocations: 0 / 1.14 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08628/1.837, allocations: 20.49 MB / 1.16 GB, free: 9.262 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005338/1.838, allocations: 319.3 kB / 1.16 GB, free: 8.871 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.248/5.086, allocations: 0 / 1.16 GB, free: 8.871 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)