Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/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.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_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.001163/0.001163, 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.001083/0.001083, allocations: 198.3 kB / 16.54 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.165/1.165, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.047/2.047, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4655, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004512/0.47, allocations: 4.412 MB / 0.954 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1319/0.6019, allocations: 150.6 MB / 1.101 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007104/0.6027, allocations: 15.94 kB / 1.101 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005333/0.6032, allocations: 186.3 kB / 1.101 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.6049, allocations: 0.5202 MB / 1.102 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.6066, allocations: 0.8332 MB / 1.103 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.6078, allocations: 1.343 MB / 1.104 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007517/0.6085, allocations: 0.6218 MB / 1.105 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005517/0.6091, allocations: 490.3 kB / 1.105 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005375/0.6097, allocations: 0.5095 MB / 1.105 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.6098, allocations: 116 kB / 1.106 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007053/0.6106, allocations: 459.6 kB / 1.106 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.6108, allocations: 303 kB / 1.106 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004536/0.6113, allocations: 0.5635 MB / 1.107 GB, free: 308 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.6127, allocations: 1.601 MB / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6127, allocations: 0 / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6127, allocations: 3.938 kB / 1.108 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.6127, allocations: 0 / 1.108 GB, free: 14.69 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002315/0.6151, allocations: 1.44 MB / 1.11 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.6151, allocations: 8.031 kB / 1.11 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/0.6152, allocations: 147.4 kB / 1.11 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008319/0.6161, allocations: 191.3 kB / 1.11 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008726/0.617, allocations: 0.7545 MB / 1.111 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.617, allocations: 65.98 kB / 1.111 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.6171, allocations: 84 kB / 1.111 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.6185, allocations: 0.9417 MB / 1.112 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.6185, allocations: 4 kB / 1.112 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-05/0.6186, allocations: 32 kB / 1.112 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.6186, allocations: 20 kB / 1.112 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.6202, allocations: 1.132 MB / 1.113 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/0.6235, allocations: 2.539 MB / 1.116 GB, free: 7.125 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.6249, allocations: 0.8954 MB / 1.116 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004867/0.6254, allocations: 323.5 kB / 1.117 GB, free: 5.887 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.624e-05/0.6255, allocations: 32.69 kB / 1.117 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007982/0.6263, allocations: 0.5197 MB / 1.117 GB, free: 5.316 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 1.793e-06/0.6263, allocations: 4 kB / 1.117 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.002816/0.6291, allocations: 1.239 MB / 1.119 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.6292, allocations: 200.9 kB / 1.119 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006552/0.6299, allocations: 0.6332 MB / 1.119 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/0.6299, allocations: 45.7 kB / 1.119 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.6302, allocations: 404.4 kB / 1.12 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.6304, allocations: 268.1 kB / 1.12 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.6306, allocations: 154.5 kB / 1.12 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6307, allocations: 386.8 kB / 1.121 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/0.6312, allocations: 261.8 kB / 1.121 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.6317, allocations: 370.5 kB / 1.121 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009895/0.6327, allocations: 0.6008 MB / 1.122 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6327, allocations: 3.938 kB / 1.122 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001705/0.6344, allocations: 0.8214 MB / 1.123 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.6345, allocations: 15.92 kB / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.6345, allocations: 0 / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/0.635, allocations: 80.88 kB / 1.123 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/0.6356, allocations: 167.8 kB / 1.123 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.6374, allocations: 1.618 MB / 1.124 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005928/0.638, allocations: 99.22 kB / 1.124 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.6381, allocations: 27.98 kB / 1.125 GB, free: 13.67 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: 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.0003067/0.6384, allocations: 273.5 kB / 1.125 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.6385, allocations: 86.97 kB / 1.125 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.6408, allocations: 1.144 MB / 1.126 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.6408, allocations: 12 kB / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.6408, allocations: 0 / 1.126 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.6408, allocations: 3.984 kB / 1.126 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.6437, allocations: 2.025 MB / 1.128 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6438, allocations: 0 / 1.128 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.6443, allocations: 151.7 kB / 1.128 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004136/0.6447, allocations: 80.78 kB / 1.128 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/0.6448, allocations: 27.97 kB / 1.128 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.6464, allocations: 1.658 MB / 1.13 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6465, allocations: 0 / 1.13 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.6483, allocations: 1.047 MB / 1.131 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.6486, allocations: 283.7 kB / 1.131 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.6487, allocations: 16 kB / 1.131 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006368/0.6494, allocations: 67.92 kB / 1.131 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.6495, allocations: 72.89 kB / 1.131 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/0.6496, allocations: 43.97 kB / 1.131 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004838/0.6501, allocations: 467 kB / 1.132 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6501, allocations: 7.875 kB / 1.132 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006727/0.6508, allocations: 323.2 kB / 1.132 GB, free: 5.648 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: 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.003145/0.6539, allocations: 2.092 MB / 1.134 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002104/0.656, allocations: 1.054 MB / 1.135 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6561, allocations: 0 / 1.135 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008526/0.6569, allocations: 0.5394 MB / 1.136 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.658, allocations: 311.3 kB / 1.136 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009663/0.6676, allocations: 6.711 MB / 1.143 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.6682, allocations: 1.032 MB / 1.144 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007022/0.6689, allocations: 274.8 kB / 1.144 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000485/0.6694, allocations: 403.3 kB / 1.144 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.6694, allocations: 0 / 1.144 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.743/2.412, allocations: 21.62 MB / 1.165 GB, free: 3.949 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/15.01, allocations: 24.56 kB / 1.165 GB, free: 3.926 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)