Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 181.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4966/0.4966, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 96.22 kB / 427.4 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003086, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1654, allocations: 72.31 MB / 0.5689 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.331/4.497, allocations: 1.685 GB / 2.254 GB, free: 215.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/4.497, allocations: 87.67 kB / 2.254 GB, free: 215.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1666/4.664, allocations: 80.82 MB / 2.333 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.735e-06/4.664, allocations: 0 / 2.333 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001369/4.664, allocations: 35.98 kB / 2.333 GB, free: 134.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.003319/4.667, allocations: 1.394 MB / 2.334 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/4.667, allocations: 11.97 kB / 2.334 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003993/4.668, allocations: 173.3 kB / 2.335 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/4.669, allocations: 226.1 kB / 2.335 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/4.67, allocations: 0.7093 MB / 2.335 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/4.67, allocations: 90.25 kB / 2.336 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/4.671, allocations: 108 kB / 2.336 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/4.673, allocations: 1.134 MB / 2.337 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/4.673, allocations: 4 kB / 2.337 GB, free: 130.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/4.673, allocations: 44 kB / 2.337 GB, free: 130 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/4.673, allocations: 28 kB / 2.337 GB, free: 130 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/4.675, allocations: 1.246 MB / 2.338 GB, free: 128.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005129/4.68, allocations: 3.059 MB / 2.341 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/4.681, allocations: 0.7855 MB / 2.342 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/4.681, allocations: 28.7 kB / 2.342 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006773/4.682, allocations: 451.2 kB / 2.342 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=78): time 2.755e-06/4.682, allocations: 4 kB / 2.342 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78): time 0.002892/4.685, allocations: 1.162 MB / 2.343 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/4.685, allocations: 256 kB / 2.344 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/4.686, allocations: 0.6679 MB / 2.344 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/4.686, allocations: 37.7 kB / 2.344 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/4.686, allocations: 0.4958 MB / 2.345 GB, free: 121.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/4.687, allocations: 252.2 kB / 2.345 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/4.687, allocations: 16.11 kB / 2.345 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/4.687, allocations: 337.9 kB / 2.345 GB, free: 121 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/4.687, allocations: 241.9 kB / 2.346 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004938/4.688, allocations: 359.3 kB / 2.346 GB, free: 120.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/4.688, allocations: 286.9 kB / 2.346 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/4.688, allocations: 3.938 kB / 2.346 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001707/4.69, allocations: 0.794 MB / 2.347 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/4.69, allocations: 13.31 kB / 2.347 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/4.69, allocations: 3.984 kB / 2.347 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/4.691, allocations: 84.72 kB / 2.347 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/4.691, allocations: 147.8 kB / 2.347 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/4.693, allocations: 1.528 MB / 2.349 GB, free: 117.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006946/4.694, allocations: 87.25 kB / 2.349 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.639e-05/4.694, allocations: 31.97 kB / 2.349 GB, free: 117.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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.0005073/4.694, allocations: 274.8 kB / 2.349 GB, free: 117 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/4.695, allocations: 98.86 kB / 2.349 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/4.697, allocations: 1.046 MB / 2.35 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/4.697, allocations: 11.98 kB / 2.35 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/4.697, allocations: 0 / 2.35 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/4.697, allocations: 7.938 kB / 2.35 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/4.698, allocations: 1.005 MB / 2.351 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/4.698, allocations: 0 / 2.351 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/4.698, allocations: 147.8 kB / 2.351 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005049/4.699, allocations: 88.77 kB / 2.351 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/4.699, allocations: 27.92 kB / 2.351 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/4.7, allocations: 1.564 MB / 2.353 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/4.7, allocations: 3.953 kB / 2.353 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/4.702, allocations: 0.8849 MB / 2.354 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/4.703, allocations: 303.6 kB / 2.354 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/4.703, allocations: 19.98 kB / 2.354 GB, free: 111.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/4.703, allocations: 63.95 kB / 2.354 GB, free: 111.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/4.703, allocations: 64.91 kB / 2.354 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/4.703, allocations: 35.98 kB / 2.354 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005661/4.704, allocations: 0.538 MB / 2.355 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/4.704, allocations: 0 / 2.355 GB, free: 110.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001076/4.705, allocations: 406.8 kB / 2.355 GB, free: 110.5 MB / 0.6042 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.003561/4.709, allocations: 2.414 MB / 2.358 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001372/4.71, allocations: 0.7731 MB / 2.358 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/4.71, allocations: 4.125 kB / 2.358 GB, free: 107.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007302/4.711, allocations: 0.5042 MB / 2.359 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009848/4.712, allocations: 248.8 kB / 2.359 GB, free: 106.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009048/4.721, allocations: 5.858 MB / 2.365 GB, free: 100.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/4.721, allocations: 1.106 MB / 2.366 GB, free: 99.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008877/4.722, allocations: 274.7 kB / 2.366 GB, free: 99.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005122/4.723, allocations: 455.2 kB / 2.367 GB, free: 98.82 MB / 0.6042 GB Notification: Performance of SimCode: time 8.52e-07/4.723, allocations: 0 / 2.367 GB, free: 98.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05389/4.777, allocations: 31.12 MB / 2.397 GB, free: 67.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/4.777, allocations: 272.7 kB / 2.397 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.118/7.895, allocations: 0 / 2.397 GB, free: 67.62 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)