Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007349/0.007349, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 198.6 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9856/0.9856, allocations: 135.6 MB / 426.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002054, allocations: 67.89 kB / 0.5857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4298, allocations: 81.02 MB / 0.6648 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005836/0.4357, allocations: 4.869 MB / 0.6696 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1834/0.6191, allocations: 150.8 MB / 0.8168 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.6204, allocations: 27.81 kB / 0.8168 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.6217, allocations: 329.6 kB / 0.8172 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.6239, allocations: 0.4953 MB / 0.8176 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.6262, allocations: 0.812 MB / 0.8184 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00199/0.6282, allocations: 1.36 MB / 0.8198 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.6297, allocations: 0.8175 MB / 0.8206 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008499/0.6306, allocations: 482.1 kB / 0.821 GB, free: 348 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008215/0.6314, allocations: 0.5014 MB / 0.8215 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003207/0.6318, allocations: 116 kB / 0.8216 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.633, allocations: 491.6 kB / 0.8221 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000382/0.6334, allocations: 310.9 kB / 0.8224 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006889/0.6341, allocations: 0.5943 MB / 0.823 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00235/0.6365, allocations: 1.768 MB / 0.8247 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6365, allocations: 8 kB / 0.8247 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6365, allocations: 0 / 0.8247 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.6366, allocations: 0 / 0.8247 GB, free: 12.56 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002423/0.639, allocations: 1.619 MB / 0.8263 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.639, allocations: 12.03 kB / 0.8263 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.6392, allocations: 148.1 kB / 0.8264 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009125/0.6401, allocations: 215.9 kB / 0.8266 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.6415, allocations: 0.8912 MB / 0.8275 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/0.6415, allocations: 70 kB / 0.8276 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.6417, allocations: 92 kB / 0.8277 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.6433, allocations: 0.9613 MB / 0.8286 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.6433, allocations: 0 / 0.8286 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/0.6434, allocations: 44 kB / 0.8286 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.6434, allocations: 24 kB / 0.8287 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.6452, allocations: 1.116 MB / 0.8298 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003911/0.6492, allocations: 2.668 MB / 0.8324 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.6504, allocations: 0.7065 MB / 0.8331 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.6509, allocations: 270.4 kB / 0.8333 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-05/0.651, allocations: 36.58 kB / 0.8334 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007587/0.6518, allocations: 422 kB / 0.8338 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 2.054e-06/0.6518, allocations: 0 / 0.8338 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69): time 0.002932/0.6547, allocations: 1.078 MB / 0.8348 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.6549, allocations: 188.5 kB / 0.835 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009913/0.6559, allocations: 0.7515 MB / 0.8357 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/0.656, allocations: 37.7 kB / 0.8358 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.6564, allocations: 0.5007 MB / 0.8362 GB, free: 420 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.6566, allocations: 238 kB / 0.8365 GB, free: 180 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.6569, allocations: 134.2 kB / 0.8366 GB, free: 40 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.657, allocations: 330 kB / 0.8369 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.6575, allocations: 209.2 kB / 0.8371 GB, free: 15.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.658, allocations: 322.7 kB / 0.8374 GB, free: 15.16 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009997/0.659, allocations: 0.5194 MB / 0.8379 GB, free: 14.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6591, allocations: 0 / 0.8379 GB, free: 14.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00178/0.6609, allocations: 0.7278 MB / 0.8386 GB, free: 13.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.6609, allocations: 12.09 kB / 0.8387 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6609, allocations: 0 / 0.8387 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/0.6615, allocations: 88.7 kB / 0.8387 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.6621, allocations: 123.9 kB / 0.8389 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.6643, allocations: 1.646 MB / 0.8405 GB, free: 11.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/0.6649, allocations: 71.78 kB / 0.8405 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.665, allocations: 23.98 kB / 0.8406 GB, free: 11.79 MB / 0.67 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004624/0.6655, allocations: 285.5 kB / 0.8408 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.6656, allocations: 107.2 kB / 0.8409 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.6679, allocations: 0.9724 MB / 0.8419 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.6679, allocations: 8 kB / 0.8419 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.6679, allocations: 4 kB / 0.8419 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.6679, allocations: 7.984 kB / 0.8419 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.6691, allocations: 0.9311 MB / 0.8428 GB, free: 9.422 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.6691, allocations: 0 / 0.8428 GB, free: 9.422 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.6697, allocations: 135.8 kB / 0.8429 GB, free: 9.289 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.6701, allocations: 80.72 kB / 0.843 GB, free: 9.207 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.6702, allocations: 19.98 kB / 0.843 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.6723, allocations: 1.674 MB / 0.8447 GB, free: 7.363 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6723, allocations: 4.031 kB / 0.8447 GB, free: 7.359 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.6742, allocations: 0.8456 MB / 0.8455 GB, free: 6.492 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003696/0.6745, allocations: 276.1 kB / 0.8458 GB, free: 6.203 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.6746, allocations: 12 kB / 0.8458 GB, free: 6.191 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.6752, allocations: 55.94 kB / 0.8458 GB, free: 6.137 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.6753, allocations: 60.92 kB / 0.8459 GB, free: 6.078 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.6754, allocations: 23.98 kB / 0.8459 GB, free: 6.055 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007179/0.6761, allocations: 0.5341 MB / 0.8464 GB, free: 5.523 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6761, allocations: 0 / 0.8464 GB, free: 5.523 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000804/0.6769, allocations: 311 kB / 0.8467 GB, free: 5.219 MB / 0.67 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003891/0.6808, allocations: 1.902 MB / 0.8486 GB, free: 3.465 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001566/0.6824, allocations: 0.7043 MB / 0.8493 GB, free: 2.75 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.6824, allocations: 4 kB / 0.8493 GB, free: 2.746 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000876/0.6833, allocations: 488.4 kB / 0.8497 GB, free: 2.254 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.685, allocations: 450.6 kB / 0.8502 GB, free: 1.859 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.6967, allocations: 6.613 MB / 0.8566 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/0.6975, allocations: 1.07 MB / 0.8577 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008543/0.6983, allocations: 279 kB / 0.8579 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006004/0.6989, allocations: 447.2 kB / 0.8584 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of SimCode: time 9.62e-07/0.6989, allocations: 0 / 0.8584 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.38/1.079, allocations: 23.91 MB / 0.8817 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.46, allocations: 4.047 kB / 0.8817 GB, free: 185.5 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)