Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_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.001342/0.001342, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7851/0.7851, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 68.3 kB / 0.5019 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4055, allocations: 80.2 MB / 0.5802 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007808/0.4134, allocations: 4.882 MB / 0.585 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1655/0.5789, allocations: 150.7 MB / 0.7322 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.5806, allocations: 27.81 kB / 0.7322 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.5819, allocations: 337.6 kB / 0.7325 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.5846, allocations: 495.9 kB / 0.733 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.587, allocations: 0.8165 MB / 0.7338 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00183/0.5889, allocations: 1.337 MB / 0.7351 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.5902, allocations: 0.8136 MB / 0.7359 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007487/0.5909, allocations: 486.1 kB / 0.7363 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007665/0.5917, allocations: 0.5053 MB / 0.7368 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003167/0.592, allocations: 120 kB / 0.737 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.5933, allocations: 459.6 kB / 0.7374 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003995/0.5938, allocations: 314.9 kB / 0.7377 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000768/0.5945, allocations: 0.5866 MB / 0.7383 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.5968, allocations: 1.717 MB / 0.7399 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5968, allocations: 3.938 kB / 0.7399 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5969, allocations: 4 kB / 0.7399 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.369e-05/0.5969, allocations: 0 / 0.7399 GB, free: 13.32 MB / 0.5762 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.003017/0.5999, allocations: 1.578 MB / 0.7415 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.6, allocations: 12.03 kB / 0.7415 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.6002, allocations: 148.1 kB / 0.7416 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009468/0.6011, allocations: 207.2 kB / 0.7418 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.6024, allocations: 0.8515 MB / 0.7427 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.6024, allocations: 70 kB / 0.7427 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.6026, allocations: 92 kB / 0.7428 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.6042, allocations: 0.9691 MB / 0.7438 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.6042, allocations: 3.938 kB / 0.7438 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.528e-05/0.6043, allocations: 40 kB / 0.7438 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.6043, allocations: 24 kB / 0.7438 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.6061, allocations: 1.12 MB / 0.7449 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004011/0.6101, allocations: 2.694 MB / 0.7476 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.6113, allocations: 0.6981 MB / 0.7482 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/0.6118, allocations: 266.4 kB / 0.7485 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-05/0.6119, allocations: 40.58 kB / 0.7485 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007598/0.6126, allocations: 421.6 kB / 0.7489 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.345e-06/0.6126, allocations: 0 / 0.7489 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.002801/0.6155, allocations: 1.07 MB / 0.75 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.6156, allocations: 192.5 kB / 0.7502 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009011/0.6165, allocations: 0.7553 MB / 0.7509 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.6165, allocations: 41.64 kB / 0.7509 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.6169, allocations: 0.496 MB / 0.7514 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.6171, allocations: 232.6 kB / 0.7516 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.6173, allocations: 126.2 kB / 0.7518 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.737e-05/0.6174, allocations: 330 kB / 0.7521 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/0.6178, allocations: 209.2 kB / 0.7523 GB, free: 352 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.6183, allocations: 314.8 kB / 0.7526 GB, free: 12 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009598/0.6193, allocations: 0.5234 MB / 0.7531 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6193, allocations: 4 kB / 0.7531 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001661/0.6209, allocations: 0.7195 MB / 0.7538 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.621, allocations: 15.92 kB / 0.7538 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.621, allocations: 4.062 kB / 0.7538 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/0.6216, allocations: 80.88 kB / 0.7539 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.6222, allocations: 131.8 kB / 0.754 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.6243, allocations: 1.641 MB / 0.7556 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005572/0.6248, allocations: 71.39 kB / 0.7557 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/0.6249, allocations: 32.05 kB / 0.7557 GB, free: 12.62 MB / 0.5919 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.0004107/0.6253, allocations: 276.1 kB / 0.756 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.6255, allocations: 98.72 kB / 0.7561 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.6277, allocations: 0.9723 MB / 0.757 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.587e-06/0.6277, allocations: 8 kB / 0.757 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.6277, allocations: 0 / 0.757 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.6277, allocations: 3.984 kB / 0.757 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.6287, allocations: 0.9464 MB / 0.758 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.6287, allocations: 0 / 0.758 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/0.6293, allocations: 143.8 kB / 0.7581 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/0.6297, allocations: 64.8 kB / 0.7582 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.6298, allocations: 23.98 kB / 0.7582 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.6316, allocations: 1.67 MB / 0.7598 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6316, allocations: 4.031 kB / 0.7598 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.6334, allocations: 0.8451 MB / 0.7606 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.6337, allocations: 271.5 kB / 0.7609 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.6339, allocations: 19.94 kB / 0.7609 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/0.6345, allocations: 51.95 kB / 0.761 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.6346, allocations: 60.91 kB / 0.761 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-05/0.6347, allocations: 27.98 kB / 0.7611 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006832/0.6354, allocations: 0.538 MB / 0.7616 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6354, allocations: 0 / 0.7616 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007792/0.6362, allocations: 303 kB / 0.7619 GB, free: 6.074 MB / 0.5919 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.003319/0.6395, allocations: 1.87 MB / 0.7637 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001986/0.6415, allocations: 0.8915 MB / 0.7646 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6415, allocations: 0 / 0.7646 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008616/0.6424, allocations: 488.5 kB / 0.765 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.644, allocations: 461.7 kB / 0.7655 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.6567, allocations: 6.881 MB / 0.7722 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008963/0.6576, allocations: 1.082 MB / 0.7733 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009926/0.6586, allocations: 271.1 kB / 0.7735 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006102/0.6593, allocations: 439.3 kB / 0.7739 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of SimCode: time 1.353e-06/0.6593, allocations: 0 / 0.7739 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8187/1.478, allocations: 23.63 MB / 0.797 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/13.3, allocations: 18.47 kB / 0.797 GB, free: 2.367 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)