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.004945/0.004945, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001073/0.001073, allocations: 195.2 kB / 16.67 MB, free: 5.52 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7496/0.7496, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 58.48 kB / 0.5808 GB, free: 24.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1413, allocations: 80.21 MB / 0.6592 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006642/0.148, allocations: 4.873 MB / 0.6639 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4717/0.6197, allocations: 150.7 MB / 0.8111 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009122/0.6207, allocations: 23.12 kB / 0.8111 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007171/0.6215, allocations: 345.7 kB / 0.8115 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.6228, allocations: 0.4943 MB / 0.812 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.6244, allocations: 0.8188 MB / 0.8128 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.6255, allocations: 1.349 MB / 0.8141 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008838/0.6264, allocations: 0.8143 MB / 0.8149 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005466/0.6269, allocations: 494.5 kB / 0.8153 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.6274, allocations: 0.5025 MB / 0.8158 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.6275, allocations: 118.5 kB / 0.8159 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007264/0.6283, allocations: 495.1 kB / 0.8164 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.6285, allocations: 314.2 kB / 0.8167 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003965/0.6289, allocations: 0.588 MB / 0.8173 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.6305, allocations: 1.765 MB / 0.819 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6305, allocations: 0 / 0.819 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6305, allocations: 3.938 kB / 0.819 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.6305, allocations: 2.469 kB / 0.819 GB, free: 9.082 MB / 0.5919 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.002156/0.6327, allocations: 1.572 MB / 0.8206 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.6327, allocations: 9.75 kB / 0.8206 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.6329, allocations: 147.8 kB / 0.8207 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008534/0.6337, allocations: 214.4 kB / 0.8209 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.6349, allocations: 0.8769 MB / 0.8218 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.6349, allocations: 67.09 kB / 0.8218 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.711e-05/0.635, allocations: 92.94 kB / 0.8219 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.6364, allocations: 0.9693 MB / 0.8229 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.6365, allocations: 3.75 kB / 0.8229 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-05/0.6366, allocations: 42.31 kB / 0.8229 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.6366, allocations: 22.34 kB / 0.8229 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.6382, allocations: 1.12 MB / 0.824 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003495/0.6417, allocations: 2.655 MB / 0.8266 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.6428, allocations: 0.7085 MB / 0.8273 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.6433, allocations: 267.8 kB / 0.8276 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.609e-05/0.6433, allocations: 29.17 kB / 0.8276 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006802/0.644, allocations: 427.5 kB / 0.828 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 2.415e-06/0.644, allocations: 0 / 0.828 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.002671/0.6467, allocations: 1.081 MB / 0.8291 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.6468, allocations: 188.5 kB / 0.8292 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008404/0.6477, allocations: 0.7441 MB / 0.83 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.6478, allocations: 46.09 kB / 0.83 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.6481, allocations: 499.3 kB / 0.8305 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.6483, allocations: 230.8 kB / 0.8307 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.6485, allocations: 127 kB / 0.8308 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.6486, allocations: 332.8 kB / 0.8311 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.649, allocations: 210.6 kB / 0.8313 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.6495, allocations: 316.6 kB / 0.8316 GB, free: 308 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008466/0.6503, allocations: 0.5152 MB / 0.8321 GB, free: 20 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6503, allocations: 4 kB / 0.8321 GB, free: 16 kB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001606/0.6519, allocations: 0.7313 MB / 0.8329 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.652, allocations: 4.875 kB / 0.8329 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.652, allocations: 2.5 kB / 0.8329 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005705/0.6525, allocations: 79.75 kB / 0.8329 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.6531, allocations: 132.4 kB / 0.8331 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.6552, allocations: 1.646 MB / 0.8347 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/0.6559, allocations: 75.8 kB / 0.8347 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/0.6559, allocations: 26.33 kB / 0.8348 GB, free: 13.89 MB / 0.6075 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.0004944/0.6565, allocations: 270.5 kB / 0.835 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.6566, allocations: 100 kB / 0.8351 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.6586, allocations: 0.9787 MB / 0.8361 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.6587, allocations: 11.47 kB / 0.8361 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.6587, allocations: 0 / 0.8361 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.6587, allocations: 3.984 kB / 0.8361 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.6597, allocations: 0.9316 MB / 0.837 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.6597, allocations: 0 / 0.837 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.6602, allocations: 137.2 kB / 0.8371 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/0.6607, allocations: 74.91 kB / 0.8372 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.682e-05/0.6607, allocations: 20.77 kB / 0.8372 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.6625, allocations: 1.686 MB / 0.8389 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6625, allocations: 0 / 0.8389 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.6642, allocations: 0.8428 MB / 0.8397 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003731/0.6646, allocations: 271.4 kB / 0.84 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.6647, allocations: 17.41 kB / 0.84 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.6652, allocations: 59.09 kB / 0.84 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.6654, allocations: 55.89 kB / 0.8401 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.6654, allocations: 32.45 kB / 0.8401 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007813/0.6662, allocations: 0.5273 MB / 0.8406 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6662, allocations: 2.781 kB / 0.8406 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000917/0.6672, allocations: 299.7 kB / 0.8409 GB, free: 9.488 MB / 0.6075 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.00311/0.6703, allocations: 1.887 MB / 0.8428 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.6719, allocations: 0.7044 MB / 0.8435 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.6719, allocations: 192 / 0.8435 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008047/0.6727, allocations: 488.7 kB / 0.8439 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.6742, allocations: 473.3 kB / 0.8444 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.6864, allocations: 6.561 MB / 0.8508 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.6871, allocations: 1.074 MB / 0.8518 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00087/0.688, allocations: 275.1 kB / 0.8521 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/0.6886, allocations: 447.2 kB / 0.8525 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of SimCode: time 8.22e-07/0.6886, allocations: 0 / 0.8525 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05565/0.7442, allocations: 23.9 MB / 0.8759 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.54, allocations: 18.89 kB / 0.8759 GB, free: 7.043 MB / 0.6387 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)