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.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.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.001545/0.001545, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001785/0.001785, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.215/2.215, allocations: 222.9 MB / 239.9 MB, free: 4.574 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 3.53/3.53, allocations: 390.2 MB / 0.6644 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002859/0.002858, allocations: 67.89 kB / 0.8122 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322/1.325, allocations: 140.4 MB / 0.9492 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.01107/1.336, allocations: 4.325 MB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3364/1.673, allocations: 148.3 MB / 1.098 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/1.674, allocations: 19.88 kB / 1.098 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/1.675, allocations: 135 kB / 1.098 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002788/1.678, allocations: 449.2 kB / 1.099 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003536/1.682, allocations: 0.7454 MB / 1.1 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002623/1.684, allocations: 1.297 MB / 1.101 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001897/1.686, allocations: 0.6295 MB / 1.101 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/1.688, allocations: 470.3 kB / 1.102 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/1.689, allocations: 0.4978 MB / 1.102 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004963/1.69, allocations: 120 kB / 1.103 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/1.691, allocations: 463.6 kB / 1.103 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006098/1.692, allocations: 299.1 kB / 1.103 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001222/1.693, allocations: 0.544 MB / 1.104 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004235/1.697, allocations: 1.577 MB / 1.105 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/1.698, allocations: 0 / 1.105 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/1.698, allocations: 0 / 1.105 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.849e-05/1.698, allocations: 4 kB / 1.105 GB, free: 1.621 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.005511/1.703, allocations: 1.403 MB / 1.107 GB, free: 172 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.829e-05/1.703, allocations: 16.03 kB / 1.107 GB, free: 156 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003675/1.704, allocations: 135.4 kB / 1.107 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/1.705, allocations: 183.6 kB / 1.107 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/1.707, allocations: 0.7381 MB / 1.108 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/1.707, allocations: 66 kB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/1.708, allocations: 80 kB / 1.108 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/1.711, allocations: 0.9184 MB / 1.109 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/1.711, allocations: 0 / 1.109 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/1.711, allocations: 40 kB / 1.109 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/1.711, allocations: 20 kB / 1.109 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003534/1.714, allocations: 1.104 MB / 1.11 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007986/1.722, allocations: 2.535 MB / 1.112 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/1.726, allocations: 0.8909 MB / 1.113 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/1.727, allocations: 306.6 kB / 1.114 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/1.727, allocations: 32.61 kB / 1.114 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/1.729, allocations: 491.2 kB / 1.114 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 4.539e-06/1.729, allocations: 0 / 1.114 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.005999/1.735, allocations: 1.194 MB / 1.115 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001844/1.735, allocations: 188.6 kB / 1.115 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/1.737, allocations: 0.6254 MB / 1.116 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/1.737, allocations: 41.7 kB / 1.116 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006401/1.738, allocations: 392.4 kB / 1.116 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/1.738, allocations: 256.3 kB / 1.117 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004687/1.739, allocations: 142.5 kB / 1.117 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003169/1.739, allocations: 394.7 kB / 1.117 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/1.74, allocations: 245.9 kB / 1.117 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/1.741, allocations: 358.5 kB / 1.118 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/1.744, allocations: 0.58 MB / 1.118 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.744, allocations: 0 / 1.118 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004023/1.748, allocations: 0.798 MB / 1.119 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/1.748, allocations: 8 kB / 1.119 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.748, allocations: 8.031 kB / 1.119 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/1.749, allocations: 84.72 kB / 1.119 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/1.75, allocations: 143.8 kB / 1.119 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/1.755, allocations: 1.654 MB / 1.121 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/1.756, allocations: 87.36 kB / 1.121 GB, free: 0.957 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/1.757, allocations: 27.97 kB / 1.121 GB, free: 0.9297 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.001185/1.758, allocations: 273.6 kB / 1.121 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000552/1.758, allocations: 79.06 kB / 1.121 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005191/1.764, allocations: 1.065 MB / 1.122 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/1.764, allocations: 15.94 kB / 1.122 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/1.764, allocations: 0 / 1.122 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/1.764, allocations: 7.922 kB / 1.122 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006929/1.771, allocations: 1.953 MB / 1.124 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/1.771, allocations: 0 / 1.124 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/1.772, allocations: 139.8 kB / 1.125 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008766/1.773, allocations: 72.8 kB / 1.125 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/1.773, allocations: 27.97 kB / 1.125 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003729/1.777, allocations: 1.677 MB / 1.126 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.777, allocations: 0 / 1.126 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00454/1.781, allocations: 0.9883 MB / 1.127 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009043/1.782, allocations: 287.6 kB / 1.127 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/1.783, allocations: 16 kB / 1.127 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/1.784, allocations: 69.17 kB / 1.128 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/1.784, allocations: 68.91 kB / 1.128 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/1.785, allocations: 31.97 kB / 1.128 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001442/1.786, allocations: 463 kB / 1.128 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.91e-07/1.786, allocations: 0 / 1.128 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001647/1.788, allocations: 299.2 kB / 1.128 GB, free: 9.172 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.005902/1.794, allocations: 2.035 MB / 1.13 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003722/1.797, allocations: 0.9991 MB / 1.131 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.797, allocations: 3.938 kB / 1.131 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/1.799, allocations: 0.5238 MB / 1.132 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1.802, allocations: 298.5 kB / 1.132 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02424/1.826, allocations: 6.873 MB / 1.139 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/1.827, allocations: 1.019 MB / 1.14 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001984/1.829, allocations: 262.5 kB / 1.14 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.83, allocations: 371.3 kB / 1.14 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of SimCode: time 1.242e-06/1.83, allocations: 0 / 1.14 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4657/2.296, allocations: 20.7 MB / 1.161 GB, free: 8.453 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004436/2.296, allocations: 294.7 kB / 1.161 GB, free: 8.074 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.679/6.975, allocations: 4 kB / 1.161 GB, free: 8.07 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)