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.0008037/0.0008037, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004811/0.004811, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.915/0.915, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 10.03 kB / 0.5077 GB, free: 4.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1496, allocations: 82.31 MB / 0.5881 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005236/0.1548, allocations: 4.422 MB / 0.5924 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3885/0.5433, allocations: 146.8 MB / 0.7358 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00074/0.5441, allocations: 22.25 kB / 0.7358 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008189/0.5449, allocations: 288.3 kB / 0.7361 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.5465, allocations: 409.9 kB / 0.7365 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.5485, allocations: 0.7159 MB / 0.7372 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.55, allocations: 1.253 MB / 0.7384 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.5511, allocations: 0.7692 MB / 0.7391 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005505/0.5516, allocations: 338 kB / 0.7395 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005823/0.5522, allocations: 373.6 kB / 0.7398 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-05/0.5523, allocations: 28.22 kB / 0.7398 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008968/0.5532, allocations: 365.2 kB / 0.7402 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.5535, allocations: 188.3 kB / 0.7404 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.5539, allocations: 0.4931 MB / 0.7408 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.5553, allocations: 1.61 MB / 0.7424 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5553, allocations: 1.594 kB / 0.7424 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5553, allocations: 3.938 kB / 0.7424 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.5553, allocations: 0 / 0.7424 GB, free: 10.41 MB / 0.5606 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.002018/0.5574, allocations: 1.324 MB / 0.7437 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.5574, allocations: 9.625 kB / 0.7437 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000165/0.5576, allocations: 149.1 kB / 0.7439 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008948/0.5585, allocations: 223.9 kB / 0.7441 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.5596, allocations: 0.852 MB / 0.7449 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.5597, allocations: 72.06 kB / 0.745 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.5598, allocations: 96.59 kB / 0.7451 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.5614, allocations: 0.9683 MB / 0.746 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.5614, allocations: 3.984 kB / 0.746 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/0.5615, allocations: 42.16 kB / 0.7461 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.5615, allocations: 22.91 kB / 0.7461 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.5632, allocations: 1.126 MB / 0.7472 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/0.5669, allocations: 2.726 MB / 0.7498 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.5681, allocations: 0.7043 MB / 0.7505 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.5685, allocations: 275.7 kB / 0.7508 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.957e-05/0.5686, allocations: 35.45 kB / 0.7508 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007098/0.5693, allocations: 425.8 kB / 0.7512 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 2.324e-06/0.5693, allocations: 0 / 0.7512 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69): time 0.002666/0.572, allocations: 1.091 MB / 0.7523 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.508e-05/0.5721, allocations: 188.5 kB / 0.7525 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009043/0.573, allocations: 0.7592 MB / 0.7532 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.5731, allocations: 37.7 kB / 0.7533 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/0.5734, allocations: 499.9 kB / 0.7537 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.5736, allocations: 232.7 kB / 0.754 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.5737, allocations: 53.69 kB / 0.754 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5738, allocations: 330 kB / 0.7543 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.5742, allocations: 213.2 kB / 0.7545 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.5747, allocations: 318.8 kB / 0.7548 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009093/0.5757, allocations: 0.5273 MB / 0.7553 GB, free: 440 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5757, allocations: 3.938 kB / 0.7553 GB, free: 436 kB / 0.5606 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001629/0.5773, allocations: 0.7384 MB / 0.7561 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.5773, allocations: 7.938 kB / 0.7561 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5773, allocations: 4.641 kB / 0.7561 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/0.5779, allocations: 84.77 kB / 0.7562 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.5785, allocations: 135.8 kB / 0.7563 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.5804, allocations: 1.524 MB / 0.7578 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.581, allocations: 86.3 kB / 0.7579 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.581, allocations: 28.92 kB / 0.7579 GB, free: 13.68 MB / 0.5762 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.0003899/0.5814, allocations: 270.5 kB / 0.7581 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.5816, allocations: 95.06 kB / 0.7582 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.5837, allocations: 0.9989 MB / 0.7592 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.5837, allocations: 11.94 kB / 0.7592 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.5837, allocations: 0 / 0.7592 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.5837, allocations: 3.984 kB / 0.7592 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009898/0.5847, allocations: 0.9387 MB / 0.7601 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5847, allocations: 0 / 0.7601 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.5853, allocations: 135.8 kB / 0.7603 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005048/0.5858, allocations: 80.78 kB / 0.7604 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/0.5858, allocations: 23.98 kB / 0.7604 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.5876, allocations: 1.567 MB / 0.7619 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5876, allocations: 0 / 0.7619 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.5893, allocations: 0.8491 MB / 0.7627 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/0.5896, allocations: 287.5 kB / 0.763 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.5897, allocations: 23.88 kB / 0.763 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/0.5903, allocations: 59.94 kB / 0.7631 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.5904, allocations: 60.92 kB / 0.7631 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.5904, allocations: 31.97 kB / 0.7632 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006311/0.5911, allocations: 0.5264 MB / 0.7637 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5911, allocations: 0 / 0.7637 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007473/0.5918, allocations: 311 kB / 0.764 GB, free: 7.188 MB / 0.5762 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.00307/0.5949, allocations: 1.899 MB / 0.7658 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.5963, allocations: 0.7115 MB / 0.7665 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5963, allocations: 3.938 kB / 0.7665 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008066/0.5971, allocations: 496.7 kB / 0.767 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.5987, allocations: 400.6 kB / 0.7674 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.611, allocations: 7.413 MB / 0.7746 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/0.6116, allocations: 1.071 MB / 0.7757 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008417/0.6125, allocations: 279.1 kB / 0.7759 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/0.613, allocations: 443.3 kB / 0.7764 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/0.613, allocations: 0 / 0.7764 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7256/1.339, allocations: 22.55 MB / 0.7984 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/1.339, allocations: 278.6 kB / 0.7987 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.95, allocations: 0 / 0.7987 GB, free: 3.852 MB / 0.6075 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)