Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.001468/0.001469, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7694/0.7694, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.717/1.717, allocations: 221.3 MB / 400.4 MB, free: 5.793 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000929/0.0009289, allocations: 82.03 kB / 483.3 MB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.431e-05/5.441e-05, allocations: 3.375 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2164, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.182/5.398, allocations: 1.693 GB / 2.334 GB, free: 241.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/5.399, allocations: 83.95 kB / 2.334 GB, free: 241.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.21/5.609, allocations: 91.59 MB / 2.423 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.185e-06/5.609, allocations: 4 kB / 2.423 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001969/5.609, allocations: 40 kB / 2.424 GB, free: 149.6 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004227/5.613, allocations: 1.661 MB / 2.425 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/5.613, allocations: 12.03 kB / 2.425 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005671/5.614, allocations: 202.5 kB / 2.425 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/5.616, allocations: 369.3 kB / 2.426 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/5.619, allocations: 1.023 MB / 2.427 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.34e-05/5.619, allocations: 102.7 kB / 2.427 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/5.619, allocations: 124 kB / 2.427 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/5.622, allocations: 1.462 MB / 2.428 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/5.622, allocations: 0 / 2.428 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002607/5.623, allocations: 59.95 kB / 2.428 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/5.623, allocations: 39.94 kB / 2.428 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/5.626, allocations: 1.95 MB / 2.43 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008154/5.634, allocations: 4.506 MB / 2.435 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/5.636, allocations: 1.354 MB / 2.436 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007373/5.637, allocations: 0.5048 MB / 2.437 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/5.637, allocations: 57.17 kB / 2.437 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/5.638, allocations: 0.7532 MB / 2.437 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 4.459e-06/5.638, allocations: 0 / 2.437 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.003185/5.641, allocations: 1.314 MB / 2.439 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/5.641, allocations: 458.1 kB / 2.439 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/5.643, allocations: 1.063 MB / 2.44 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/5.644, allocations: 49.7 kB / 2.44 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004719/5.644, allocations: 0.6109 MB / 2.441 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/5.644, allocations: 449.5 kB / 2.441 GB, free: 131 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/5.644, allocations: 20 kB / 2.441 GB, free: 131 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/5.645, allocations: 349.9 kB / 2.442 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/5.645, allocations: 394.5 kB / 2.442 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007786/5.646, allocations: 0.6113 MB / 2.442 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/5.647, allocations: 490.1 kB / 2.443 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/5.647, allocations: 0 / 2.443 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002957/5.65, allocations: 1.333 MB / 2.444 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/5.65, allocations: 11.94 kB / 2.444 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/5.65, allocations: 4.219 kB / 2.444 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/5.651, allocations: 165.5 kB / 2.444 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/5.652, allocations: 267.6 kB / 2.445 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/5.655, allocations: 3.059 MB / 2.448 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/5.657, allocations: 170.8 kB / 2.448 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/5.657, allocations: 55.95 kB / 2.448 GB, free: 123.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003177/5.657, allocations: 180.7 kB / 2.448 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/5.657, allocations: 150.2 kB / 2.448 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/5.661, allocations: 1.907 MB / 2.45 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/5.661, allocations: 20 kB / 2.45 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/5.661, allocations: 0 / 2.45 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/5.661, allocations: 7.969 kB / 2.45 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/5.663, allocations: 1.525 MB / 2.452 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/5.663, allocations: 0 / 2.452 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/5.664, allocations: 287.6 kB / 2.452 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009511/5.665, allocations: 173.5 kB / 2.452 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.891e-05/5.665, allocations: 43.97 kB / 2.452 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/5.668, allocations: 3.108 MB / 2.455 GB, free: 116 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/5.668, allocations: 3.984 kB / 2.455 GB, free: 116 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/5.671, allocations: 1.563 MB / 2.457 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009544/5.672, allocations: 482.5 kB / 2.457 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/5.672, allocations: 32 kB / 2.457 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/5.673, allocations: 127.9 kB / 2.457 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/5.674, allocations: 125.4 kB / 2.457 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.961e-05/5.674, allocations: 55.95 kB / 2.457 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001109/5.675, allocations: 0.8374 MB / 2.458 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.675, allocations: 3.938 kB / 2.458 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001716/5.677, allocations: 0.5495 MB / 2.459 GB, free: 112.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004961/5.682, allocations: 3.161 MB / 2.462 GB, free: 109 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002351/5.684, allocations: 1.355 MB / 2.463 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/5.684, allocations: 3.984 kB / 2.463 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/5.685, allocations: 0.9081 MB / 2.464 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/5.688, allocations: 483 kB / 2.465 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007097/5.695, allocations: 2.877 MB / 2.467 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/5.695, allocations: 1.32 MB / 2.469 GB, free: 102 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001637/5.697, allocations: 0.4957 MB / 2.469 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008419/5.698, allocations: 0.6711 MB / 2.47 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.513e-06/5.698, allocations: 0 / 2.47 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08129/5.779, allocations: 48.82 MB / 2.517 GB, free: 52.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/5.779, allocations: 219.3 kB / 2.518 GB, free: 52.03 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.97/9.75, allocations: 0 / 2.518 GB, free: 52.03 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)