Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.0008695/0.0008695, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004689/0.004689, allocations: 169.1 kB / 16.26 MB, free: 6.328 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.188/1.188, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.077/2.077, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.00028, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5218/0.5221, allocations: 142.4 MB / 0.9552 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.003483/0.5256, allocations: 4.084 MB / 0.9592 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1331/0.6587, allocations: 146.8 MB / 1.102 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006765/0.6594, allocations: 15.94 kB / 1.103 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005284/0.66, allocations: 138.9 kB / 1.103 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.6615, allocations: 461.2 kB / 1.103 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.6632, allocations: 0.7519 MB / 1.104 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.6645, allocations: 1.296 MB / 1.105 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000801/0.6653, allocations: 0.5978 MB / 1.106 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005429/0.6659, allocations: 382.1 kB / 1.106 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.6664, allocations: 409.8 kB / 1.106 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.6665, allocations: 28 kB / 1.106 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007038/0.6672, allocations: 399.6 kB / 1.107 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.6674, allocations: 203 kB / 1.107 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.6678, allocations: 474.7 kB / 1.107 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.6692, allocations: 1.546 MB / 1.109 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6692, allocations: 12 kB / 1.109 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6693, allocations: 0 / 1.109 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.732e-05/0.6693, allocations: 0 / 1.109 GB, free: 1.203 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002323/0.6716, allocations: 1.269 MB / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.6717, allocations: 8.031 kB / 1.11 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/0.6718, allocations: 139.8 kB / 1.11 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/0.6727, allocations: 203.3 kB / 1.111 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000988/0.6737, allocations: 0.766 MB / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/0.6738, allocations: 69.98 kB / 1.111 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.6739, allocations: 88 kB / 1.111 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.6755, allocations: 0.9769 MB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.6755, allocations: 3.984 kB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.6756, allocations: 36 kB / 1.112 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.6756, allocations: 28 kB / 1.112 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.6773, allocations: 1.167 MB / 1.114 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/0.6813, allocations: 2.743 MB / 1.116 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/0.6833, allocations: 0.985 MB / 1.117 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.6838, allocations: 334.8 kB / 1.118 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.07e-05/0.6839, allocations: 42.64 kB / 1.118 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000814/0.6847, allocations: 0.5315 MB / 1.118 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 1.934e-06/0.6847, allocations: 0 / 1.118 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.002898/0.6876, allocations: 1.302 MB / 1.119 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.6877, allocations: 200.9 kB / 1.12 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006844/0.6884, allocations: 0.6528 MB / 1.12 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-05/0.6885, allocations: 45.64 kB / 1.12 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.6887, allocations: 404.5 kB / 1.121 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.6889, allocations: 279.9 kB / 1.121 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-05/0.689, allocations: 69.69 kB / 1.121 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6892, allocations: 390.7 kB / 1.121 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.6897, allocations: 269.9 kB / 1.122 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.6903, allocations: 390.5 kB / 1.122 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.6913, allocations: 0.6359 MB / 1.123 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6913, allocations: 7.938 kB / 1.123 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001761/0.6931, allocations: 0.876 MB / 1.123 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6931, allocations: 8 kB / 1.124 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6931, allocations: 3.938 kB / 1.124 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/0.6937, allocations: 80.84 kB / 1.124 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/0.6943, allocations: 171.8 kB / 1.124 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.6961, allocations: 1.524 MB / 1.125 GB, free: 12 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007069/0.6968, allocations: 116.7 kB / 1.125 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/0.6969, allocations: 31.98 kB / 1.125 GB, free: 15.87 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: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0003526/0.6973, allocations: 275.4 kB / 1.126 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.6974, allocations: 86.88 kB / 1.126 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.6998, allocations: 1.207 MB / 1.127 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.6999, allocations: 12 kB / 1.127 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.6999, allocations: 0 / 1.127 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6999, allocations: 3.984 kB / 1.127 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/0.7031, allocations: 2.118 MB / 1.129 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7031, allocations: 0 / 1.129 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006117/0.7037, allocations: 163.8 kB / 1.129 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.7042, allocations: 92.7 kB / 1.129 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.7043, allocations: 27.97 kB / 1.129 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.7059, allocations: 1.544 MB / 1.131 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7059, allocations: 4.031 kB / 1.131 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.7078, allocations: 1.101 MB / 1.132 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.7082, allocations: 307.5 kB / 1.132 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.7083, allocations: 16 kB / 1.132 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/0.709, allocations: 91.92 kB / 1.132 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.7092, allocations: 84.88 kB / 1.132 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/0.7092, allocations: 35.98 kB / 1.132 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005256/0.7098, allocations: 479 kB / 1.133 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7098, allocations: 0 / 1.133 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007783/0.7106, allocations: 339.1 kB / 1.133 GB, free: 7.664 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 (106): * Single equations (assignments): 99 * 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.003372/0.7139, allocations: 2.172 MB / 1.135 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.7155, allocations: 0.8743 MB / 1.136 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7155, allocations: 0 / 1.136 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008706/0.7164, allocations: 0.5704 MB / 1.137 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.7175, allocations: 271.2 kB / 1.137 GB, free: 3.93 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.729, allocations: 7.412 MB / 1.144 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.7296, allocations: 1.048 MB / 1.145 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007802/0.7304, allocations: 271 kB / 1.145 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/0.7309, allocations: 407.2 kB / 1.146 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of SimCode: time 7.11e-07/0.731, allocations: 4 kB / 1.146 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1475/0.8784, allocations: 21.17 MB / 1.167 GB, free: 5.832 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/0.8787, allocations: 318.3 kB / 1.167 GB, free: 5.445 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/3.108, allocations: 2.188 kB / 1.167 GB, free: 5.445 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)