Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_dev_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.002254/0.002254, allocations: 174.7 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 1.318/1.318, allocations: 133.4 MB / 146.7 MB, free: 10.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.748/2.748, 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.001205/0.001204, allocations: 83.89 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.685e-05/7.688e-05, allocations: 2.938 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3744, allocations: 82.31 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.903/8.277, allocations: 1.693 GB / 2.334 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/8.278, allocations: 83.98 kB / 2.334 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3016/8.579, allocations: 91.59 MB / 2.423 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.931e-06/8.579, allocations: 4 kB / 2.423 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003645/8.58, allocations: 43.94 kB / 2.424 GB, free: 118.7 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.006673/8.586, allocations: 1.657 MB / 2.425 GB, free: 117 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.726e-05/8.586, allocations: 16.03 kB / 2.425 GB, free: 117 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005547/8.587, allocations: 198.5 kB / 2.425 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003376/8.59, allocations: 377.3 kB / 2.426 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00326/8.594, allocations: 1.023 MB / 2.427 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/8.594, allocations: 102.7 kB / 2.427 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/8.594, allocations: 128 kB / 2.427 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003793/8.598, allocations: 1.452 MB / 2.428 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.112e-05/8.598, allocations: 8 kB / 2.428 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/8.598, allocations: 59.95 kB / 2.428 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/8.598, allocations: 36 kB / 2.428 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004021/8.602, allocations: 1.954 MB / 2.43 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/8.614, allocations: 4.51 MB / 2.435 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003142/8.617, allocations: 1.347 MB / 2.436 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/8.618, allocations: 0.497 MB / 2.437 GB, free: 105 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/8.618, allocations: 61.17 kB / 2.437 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/8.62, allocations: 0.7493 MB / 2.437 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 6.462e-06/8.62, allocations: 0 / 2.437 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.004814/8.625, allocations: 1.307 MB / 2.439 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/8.625, allocations: 466 kB / 2.439 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/8.628, allocations: 1.06 MB / 2.44 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003236/8.628, allocations: 53.7 kB / 2.44 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007355/8.629, allocations: 0.6109 MB / 2.441 GB, free: 100.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005468/8.63, allocations: 445.5 kB / 2.441 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/8.63, allocations: 24 kB / 2.441 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001476/8.63, allocations: 349.9 kB / 2.442 GB, free: 99.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/8.631, allocations: 390.5 kB / 2.442 GB, free: 99.35 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/8.632, allocations: 0.6152 MB / 2.442 GB, free: 98.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/8.633, allocations: 486.1 kB / 2.443 GB, free: 98.19 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/8.633, allocations: 0 / 2.443 GB, free: 98.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004865/8.638, allocations: 1.329 MB / 2.444 GB, free: 96.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/8.638, allocations: 12.88 kB / 2.444 GB, free: 96.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/8.638, allocations: 4.219 kB / 2.444 GB, free: 96.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/8.64, allocations: 169.5 kB / 2.444 GB, free: 96.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/8.642, allocations: 267.6 kB / 2.445 GB, free: 96.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004757/8.646, allocations: 3.077 MB / 2.448 GB, free: 93.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/8.649, allocations: 166.8 kB / 2.448 GB, free: 92.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/8.649, allocations: 51.95 kB / 2.448 GB, free: 92.82 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.0004994/8.649, allocations: 180.7 kB / 2.448 GB, free: 92.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005926/8.65, allocations: 146.2 kB / 2.448 GB, free: 92.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006422/8.657, allocations: 1.907 MB / 2.45 GB, free: 90.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/8.657, allocations: 20 kB / 2.45 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/8.657, allocations: 0 / 2.45 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/8.657, allocations: 7.969 kB / 2.45 GB, free: 90.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/8.66, allocations: 1.525 MB / 2.452 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/8.66, allocations: 0 / 2.452 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/8.662, allocations: 283.6 kB / 2.452 GB, free: 88.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/8.663, allocations: 181.5 kB / 2.452 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/8.663, allocations: 39.97 kB / 2.452 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004373/8.668, allocations: 3.107 MB / 2.455 GB, free: 85.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/8.668, allocations: 0 / 2.455 GB, free: 85.08 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005371/8.673, allocations: 1.555 MB / 2.457 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/8.674, allocations: 486.5 kB / 2.457 GB, free: 83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/8.675, allocations: 32 kB / 2.457 GB, free: 82.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/8.676, allocations: 131.9 kB / 2.457 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/8.677, allocations: 117.4 kB / 2.457 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/8.677, allocations: 63.95 kB / 2.457 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001804/8.679, allocations: 0.8335 MB / 2.458 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/8.679, allocations: 3.938 kB / 2.458 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002816/8.682, allocations: 0.5495 MB / 2.459 GB, free: 81.27 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.007701/8.689, allocations: 3.176 MB / 2.462 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003694/8.693, allocations: 1.355 MB / 2.463 GB, free: 76.76 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/8.693, allocations: 0 / 2.463 GB, free: 76.76 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00205/8.695, allocations: 0.9004 MB / 2.464 GB, free: 75.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/8.699, allocations: 479.9 kB / 2.465 GB, free: 75.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/8.711, allocations: 2.873 MB / 2.467 GB, free: 72.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/8.712, allocations: 1.324 MB / 2.469 GB, free: 71.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00284/8.715, allocations: 0.5035 MB / 2.469 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/8.716, allocations: 0.6711 MB / 2.47 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of SimCode: time 1.923e-06/8.716, allocations: 0 / 2.47 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/8.855, allocations: 48.83 MB / 2.517 GB, free: 21.35 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/8.855, allocations: 219.5 kB / 2.518 GB, free: 21.13 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/15.63, allocations: 0 / 2.518 GB, free: 21.13 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)