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.001164/0.001164, allocations: 108 kB / 15.61 MB, free: 152 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.001116/0.001116, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.172/1.172, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.057/2.057, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 63.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4669/0.4681, allocations: 140.4 MB / 0.9497 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004429/0.4725, allocations: 4.303 MB / 0.9539 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1363/0.6089, allocations: 150.6 MB / 1.101 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006573/0.6096, allocations: 15.94 kB / 1.101 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.6101, allocations: 174.4 kB / 1.101 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.6113, allocations: 0.4934 MB / 1.102 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.6129, allocations: 0.8278 MB / 1.102 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000952/0.6139, allocations: 1.289 MB / 1.104 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007235/0.6146, allocations: 0.6334 MB / 1.104 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004141/0.615, allocations: 474.3 kB / 1.105 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004458/0.6155, allocations: 497.8 kB / 1.105 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.6156, allocations: 116 kB / 1.105 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005837/0.6162, allocations: 463.6 kB / 1.106 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.6165, allocations: 299.1 kB / 1.106 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003987/0.6169, allocations: 0.5441 MB / 1.107 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.6181, allocations: 1.573 MB / 1.108 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.6181, allocations: 4 kB / 1.108 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6181, allocations: 4 kB / 1.108 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.6182, allocations: 0 / 1.108 GB, free: 15.01 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002021/0.6202, allocations: 1.407 MB / 1.11 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.6202, allocations: 8.031 kB / 1.11 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.6204, allocations: 135.4 kB / 1.11 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008038/0.6212, allocations: 187.4 kB / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008378/0.622, allocations: 0.7381 MB / 1.111 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.6221, allocations: 62 kB / 1.111 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.974e-05/0.6222, allocations: 80 kB / 1.111 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.6235, allocations: 0.9184 MB / 1.112 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.6235, allocations: 0 / 1.112 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.6236, allocations: 43.92 kB / 1.112 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.6236, allocations: 20 kB / 1.112 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.6251, allocations: 1.112 MB / 1.113 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/0.6284, allocations: 2.527 MB / 1.115 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.6298, allocations: 0.887 MB / 1.116 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.6303, allocations: 306.7 kB / 1.116 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.886e-05/0.6304, allocations: 32.61 kB / 1.116 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007575/0.6311, allocations: 491.2 kB / 1.117 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 1.613e-06/0.6311, allocations: 0 / 1.117 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.002725/0.6339, allocations: 1.194 MB / 1.118 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.634, allocations: 192.6 kB / 1.118 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000643/0.6346, allocations: 0.6254 MB / 1.119 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.6347, allocations: 37.7 kB / 1.119 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.6349, allocations: 400.3 kB / 1.119 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.6351, allocations: 252.3 kB / 1.119 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.6353, allocations: 142.5 kB / 1.12 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6354, allocations: 390.7 kB / 1.12 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.6359, allocations: 245.9 kB / 1.12 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005376/0.6364, allocations: 362.5 kB / 1.121 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009605/0.6374, allocations: 0.5838 MB / 1.121 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6374, allocations: 3.938 kB / 1.121 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001655/0.6391, allocations: 0.7942 MB / 1.122 GB, free: 492 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.6391, allocations: 8 kB / 1.122 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.6391, allocations: 3.938 kB / 1.122 GB, free: 480 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/0.6396, allocations: 92.73 kB / 1.122 GB, free: 384 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.6402, allocations: 151.8 kB / 1.122 GB, free: 232 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.642, allocations: 1.642 MB / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.6426, allocations: 91.42 kB / 1.124 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.6426, allocations: 27.98 kB / 1.124 GB, free: 14.32 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: 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.0003005/0.6429, allocations: 269.5 kB / 1.124 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.6431, allocations: 79.06 kB / 1.124 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.6452, allocations: 1.065 MB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6452, allocations: 11.94 kB / 1.125 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.6452, allocations: 0 / 1.125 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.6452, allocations: 7.969 kB / 1.125 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.648, allocations: 1.953 MB / 1.127 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.648, allocations: 3.984 kB / 1.127 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005216/0.6486, allocations: 143.8 kB / 1.127 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004065/0.649, allocations: 76.78 kB / 1.127 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.649, allocations: 27.97 kB / 1.127 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.6507, allocations: 1.666 MB / 1.129 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6508, allocations: 0 / 1.129 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.6525, allocations: 0.996 MB / 1.13 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.6528, allocations: 279.7 kB / 1.13 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.6529, allocations: 16 kB / 1.13 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/0.6535, allocations: 63.94 kB / 1.13 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.6537, allocations: 72.89 kB / 1.13 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/0.6537, allocations: 31.98 kB / 1.13 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004772/0.6542, allocations: 459 kB / 1.131 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6542, allocations: 0 / 1.131 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006685/0.6549, allocations: 307.2 kB / 1.131 GB, free: 6.559 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.003084/0.658, allocations: 2.036 MB / 1.133 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001998/0.66, allocations: 0.9993 MB / 1.134 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.66, allocations: 0 / 1.134 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008455/0.6609, allocations: 0.5158 MB / 1.135 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.6619, allocations: 308 kB / 1.135 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009627/0.6716, allocations: 6.515 MB / 1.141 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.6721, allocations: 1.012 MB / 1.142 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006891/0.6728, allocations: 258.5 kB / 1.143 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004631/0.6733, allocations: 371.3 kB / 1.143 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.6733, allocations: 0 / 1.143 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1493/0.8226, allocations: 20.89 MB / 1.163 GB, free: 5.996 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.97, allocations: 2.234 kB / 1.163 GB, free: 5.996 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)