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.01018/0.01018, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8319/0.8319, allocations: 135.2 MB / 151 MB, free: 13.82 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.481/1.481, allocations: 223.2 MB / 406.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 98.3 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004388, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5906/0.5911, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.266/5.857, allocations: 1.694 GB / 2.343 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/5.857, allocations: 93.8 kB / 2.343 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2055/6.063, allocations: 91.95 MB / 2.433 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.936e-06/6.063, allocations: 0 / 2.433 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002647/6.063, allocations: 46.17 kB / 2.433 GB, free: 162.2 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.006511/6.069, allocations: 1.893 MB / 2.435 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/6.07, allocations: 8.031 kB / 2.435 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007919/6.07, allocations: 210.5 kB / 2.435 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/6.073, allocations: 373.4 kB / 2.435 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/6.075, allocations: 1.015 MB / 2.436 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.865e-05/6.076, allocations: 98.67 kB / 2.436 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/6.076, allocations: 135.9 kB / 2.437 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003589/6.08, allocations: 1.52 MB / 2.438 GB, free: 157 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.842e-05/6.08, allocations: 0 / 2.438 GB, free: 157 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/6.08, allocations: 59.95 kB / 2.438 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/6.08, allocations: 32 kB / 2.438 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003681/6.084, allocations: 2.063 MB / 2.44 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009029/6.093, allocations: 4.514 MB / 2.445 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002801/6.095, allocations: 1.447 MB / 2.446 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/6.096, allocations: 69.17 kB / 2.446 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/6.097, allocations: 0.796 MB / 2.447 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 4.708e-06/6.097, allocations: 0 / 2.447 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.006068/6.103, allocations: 2.149 MB / 2.449 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/6.103, allocations: 462 kB / 2.449 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/6.105, allocations: 1.073 MB / 2.45 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001838/6.106, allocations: 53.7 kB / 2.45 GB, free: 144 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005401/6.106, allocations: 0.6071 MB / 2.451 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/6.107, allocations: 453.4 kB / 2.452 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/6.107, allocations: 28 kB / 2.452 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001019/6.107, allocations: 345.9 kB / 2.452 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009248/6.108, allocations: 442.4 kB / 2.452 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/6.109, allocations: 0.6541 MB / 2.453 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/6.11, allocations: 0.5301 MB / 2.453 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/6.11, allocations: 0 / 2.453 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003624/6.114, allocations: 1.428 MB / 2.455 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/6.114, allocations: 4 kB / 2.455 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/6.114, allocations: 4 kB / 2.455 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/6.115, allocations: 165.6 kB / 2.455 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/6.116, allocations: 271.6 kB / 2.455 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/6.119, allocations: 3.1 MB / 2.458 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/6.121, allocations: 174.7 kB / 2.458 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/6.121, allocations: 55.95 kB / 2.459 GB, free: 135.4 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 () * Number of clocked 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.001085/6.122, allocations: 376.9 kB / 2.459 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004769/6.123, allocations: 150.2 kB / 2.459 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004687/6.127, allocations: 2.011 MB / 2.461 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/6.128, allocations: 16 kB / 2.461 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/6.128, allocations: 4 kB / 2.461 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/6.128, allocations: 11.91 kB / 2.461 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/6.13, allocations: 1.533 MB / 2.462 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/6.13, allocations: 4 kB / 2.462 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/6.131, allocations: 275.7 kB / 2.463 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/6.132, allocations: 177.5 kB / 2.463 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/6.132, allocations: 39.97 kB / 2.463 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003088/6.135, allocations: 3.146 MB / 2.466 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/6.135, allocations: 4.031 kB / 2.466 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/6.139, allocations: 1.657 MB / 2.468 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/6.14, allocations: 482.5 kB / 2.468 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004138/6.14, allocations: 32 kB / 2.468 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/6.142, allocations: 135.9 kB / 2.468 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/6.142, allocations: 114.3 kB / 2.468 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/6.142, allocations: 59.95 kB / 2.468 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001388/6.144, allocations: 0.8553 MB / 2.469 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.21e-07/6.144, allocations: 0 / 2.469 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002117/6.146, allocations: 0.5495 MB / 2.47 GB, free: 123.4 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) * Number of clocked states: 0 () * 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.006235/6.152, allocations: 3.322 MB / 2.473 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002908/6.155, allocations: 1.451 MB / 2.474 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/6.155, allocations: 3.906 kB / 2.474 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/6.156, allocations: 0.9537 MB / 2.475 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/6.159, allocations: 485.1 kB / 2.476 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/6.178, allocations: 10.33 MB / 2.486 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000905/6.179, allocations: 1.321 MB / 2.487 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00214/6.181, allocations: 0.4996 MB / 2.488 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/6.183, allocations: 0.6711 MB / 2.488 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/6.183, allocations: 0 / 2.488 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0793/6.262, allocations: 47.04 MB / 2.534 GB, free: 57.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/6.262, allocations: 248 kB / 2.535 GB, free: 57.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.081/10.34, allocations: 7.938 kB / 2.535 GB, free: 57.09 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)