Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.443/2.443, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 184.8 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001074, allocations: 98.17 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.88e-05/1.879e-05, allocations: 0 / 0.8508 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7967/0.7968, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.912/6.709, allocations: 2.074 GB / 3.037 GB, free: 44.88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/6.71, allocations: 88.27 kB / 3.037 GB, free: 44.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9681/7.678, allocations: 81.34 MB / 3.116 GB, free: 319.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.033e-06/7.678, allocations: 0 / 3.116 GB, free: 319.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001206/7.678, allocations: 30.84 kB / 3.116 GB, free: 319.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.003467/7.681, allocations: 1.299 MB / 3.118 GB, free: 318.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/7.681, allocations: 9.625 kB / 3.118 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/7.683, allocations: 230 kB / 3.118 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/7.685, allocations: 0.748 MB / 3.119 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/7.685, allocations: 81.81 kB / 3.119 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/7.686, allocations: 70.72 kB / 3.119 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003519/7.689, allocations: 1.243 MB / 3.12 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/7.692, allocations: 1.018 MB / 3.121 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/7.692, allocations: 0 / 3.121 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/7.692, allocations: 9.469 kB / 3.121 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/7.692, allocations: 30.97 kB / 3.121 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008448/7.701, allocations: 3.144 MB / 3.124 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/7.703, allocations: 0.809 MB / 3.125 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007378/7.703, allocations: 321.6 kB / 3.125 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/7.704, allocations: 42.69 kB / 3.125 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/7.705, allocations: 0.4889 MB / 3.126 GB, free: 316.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=93): time 3.938e-06/7.705, allocations: 0 / 3.126 GB, free: 316.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=93): time 0.003115/7.708, allocations: 0.8325 MB / 3.127 GB, free: 316.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/7.708, allocations: 251.8 kB / 3.127 GB, free: 316.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/7.709, allocations: 0.5897 MB / 3.127 GB, free: 316.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002056/7.71, allocations: 27.11 kB / 3.127 GB, free: 316.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/7.71, allocations: 0.509 MB / 3.128 GB, free: 316.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/7.71, allocations: 302.7 kB / 3.128 GB, free: 315.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/7.71, allocations: 2 kB / 3.128 GB, free: 315.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001445/7.711, allocations: 391 kB / 3.129 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/7.711, allocations: 272.6 kB / 3.129 GB, free: 315.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007956/7.712, allocations: 393.9 kB / 3.129 GB, free: 315.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009082/7.713, allocations: 344 kB / 3.13 GB, free: 315.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/7.713, allocations: 1.375 kB / 3.13 GB, free: 315.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003209/7.716, allocations: 0.876 MB / 3.13 GB, free: 315.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/7.716, allocations: 5.594 kB / 3.13 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/7.716, allocations: 2.766 kB / 3.13 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009826/7.717, allocations: 87.28 kB / 3.131 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/7.719, allocations: 194.8 kB / 3.131 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/7.722, allocations: 1.465 MB / 3.132 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/7.723, allocations: 73.33 kB / 3.132 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/7.723, allocations: 39.38 kB / 3.132 GB, free: 313.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003035/7.723, allocations: 121.9 kB / 3.132 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003015/7.727, allocations: 0.8351 MB / 3.133 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/7.727, allocations: 95.64 kB / 3.133 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/7.731, allocations: 1.2 MB / 3.134 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/7.731, allocations: 12.72 kB / 3.134 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/7.731, allocations: 0 / 3.134 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/7.731, allocations: 4.672 kB / 3.134 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006708/7.738, allocations: 2.198 MB / 3.137 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/7.738, allocations: 3.469 kB / 3.137 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/7.74, allocations: 185 kB / 3.137 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008724/7.741, allocations: 87.05 kB / 3.137 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.65e-05/7.741, allocations: 15.28 kB / 3.137 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/7.743, allocations: 1.497 MB / 3.138 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/7.743, allocations: 0 / 3.138 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/7.746, allocations: 1.018 MB / 3.139 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008155/7.747, allocations: 342 kB / 3.14 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/7.747, allocations: 6.031 kB / 3.14 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/7.749, allocations: 56.62 kB / 3.14 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/7.749, allocations: 71.72 kB / 3.14 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/7.749, allocations: 42.39 kB / 3.14 GB, free: 309.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009678/7.75, allocations: 498 kB / 3.14 GB, free: 309.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.2e-07/7.75, allocations: 1.125 kB / 3.14 GB, free: 309.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001825/7.752, allocations: 377 kB / 3.141 GB, free: 309.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005693/7.758, allocations: 2.503 MB / 3.143 GB, free: 308.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002664/7.76, allocations: 0.8461 MB / 3.144 GB, free: 308 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/7.76, allocations: 1.312 kB / 3.144 GB, free: 308 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/7.762, allocations: 0.529 MB / 3.144 GB, free: 307.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/7.764, allocations: 230.4 kB / 3.145 GB, free: 307.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007438/7.771, allocations: 1.867 MB / 3.146 GB, free: 307 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/7.772, allocations: 1.143 MB / 3.148 GB, free: 306.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001684/7.774, allocations: 288.1 kB / 3.148 GB, free: 306.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/7.775, allocations: 497 kB / 3.148 GB, free: 305.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/7.775, allocations: 0 / 3.148 GB, free: 305.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09741/7.872, allocations: 27.44 MB / 3.175 GB, free: 296.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/7.873, allocations: 200.6 kB / 3.175 GB, free: 295.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.74/11.61, allocations: 3.938 kB / 3.175 GB, free: 295.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)