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.001733/0.001733, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001766/0.001766, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.025/2.025, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.693/1.693, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005603/0.0005604, allocations: 11.98 kB / 0.5069 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2822, allocations: 82.31 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.009814/0.2921, allocations: 4.122 MB / 0.5913 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7482/1.041, allocations: 127.7 MB / 0.716 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/1.042, allocations: 20.75 kB / 0.716 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006977/1.043, allocations: 89.33 kB / 0.7161 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003448/1.046, allocations: 0.5197 MB / 0.7166 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003978/1.05, allocations: 0.6227 MB / 0.7172 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003457/1.054, allocations: 0.9738 MB / 0.7182 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/1.056, allocations: 0.574 MB / 0.7188 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/1.057, allocations: 333.2 kB / 0.7191 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/1.058, allocations: 334.9 kB / 0.7194 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003592/1.058, allocations: 23.75 kB / 0.7194 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/1.06, allocations: 309.5 kB / 0.7197 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005127/1.061, allocations: 180.3 kB / 0.7199 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005765/1.061, allocations: 219.2 kB / 0.7201 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004155/1.066, allocations: 1.277 MB / 0.7213 GB, free: 11.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.066, allocations: 0 / 0.7213 GB, free: 11.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.917e-06/1.066, allocations: 0 / 0.7213 GB, free: 11.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001162/1.066, allocations: 0 / 0.7213 GB, free: 11.91 MB / 0.545 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.005815/1.072, allocations: 1.339 MB / 0.7226 GB, free: 10.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.828e-05/1.072, allocations: 12.75 kB / 0.7227 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007398/1.072, allocations: 147.8 kB / 0.7228 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/1.075, allocations: 221.4 kB / 0.723 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/1.078, allocations: 0.8229 MB / 0.7238 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/1.078, allocations: 68 kB / 0.7239 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003912/1.079, allocations: 89.05 kB / 0.724 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004321/1.083, allocations: 0.9576 MB / 0.7249 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-05/1.083, allocations: 3.984 kB / 0.7249 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/1.083, allocations: 39.55 kB / 0.7249 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/1.084, allocations: 25.23 kB / 0.725 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004498/1.088, allocations: 1.125 MB / 0.7261 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/1.099, allocations: 2.727 MB / 0.7287 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/1.101, allocations: 0.7104 MB / 0.7294 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/1.101, allocations: 32.61 kB / 0.7294 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/1.103, allocations: 409.7 kB / 0.7298 GB, free: 7.543 MB / 0.545 GB Notification: Performance of pre-optimization done (n=69): time 4.258e-06/1.103, allocations: 3.938 kB / 0.7298 GB, free: 7.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=69): time 0.005477/1.108, allocations: 1.088 MB / 0.7309 GB, free: 7.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/1.109, allocations: 190.5 kB / 0.7311 GB, free: 6.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/1.111, allocations: 0.7425 MB / 0.7318 GB, free: 6.539 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001912/1.111, allocations: 43.92 kB / 0.7319 GB, free: 6.496 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007698/1.112, allocations: 0.4883 MB / 0.7323 GB, free: 6.109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004832/1.113, allocations: 227.1 kB / 0.7325 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.83e-05/1.113, allocations: 11.31 kB / 0.7326 GB, free: 5.922 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.113, allocations: 336.5 kB / 0.7329 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009194/1.114, allocations: 210.9 kB / 0.7331 GB, free: 5.531 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/1.115, allocations: 318.6 kB / 0.7334 GB, free: 5.363 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/1.116, allocations: 256.6 kB / 0.7336 GB, free: 5.258 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/1.116, allocations: 0 / 0.7336 GB, free: 5.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003385/1.119, allocations: 0.7339 MB / 0.7343 GB, free: 4.957 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/1.119, allocations: 4.75 kB / 0.7344 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/1.119, allocations: 2.281 kB / 0.7344 GB, free: 4.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/1.121, allocations: 87.05 kB / 0.7344 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.122, allocations: 134.7 kB / 0.7346 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003664/1.125, allocations: 1.552 MB / 0.7361 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/1.127, allocations: 79.38 kB / 0.7362 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/1.127, allocations: 30.94 kB / 0.7362 GB, free: 3.113 MB / 0.545 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001219/1.128, allocations: 274.8 kB / 0.7364 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004918/1.129, allocations: 94.78 kB / 0.7365 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004589/1.133, allocations: 0.9911 MB / 0.7375 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/1.133, allocations: 8 kB / 0.7375 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/1.133, allocations: 0 / 0.7375 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/1.134, allocations: 3 kB / 0.7375 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/1.136, allocations: 0.939 MB / 0.7384 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.136, allocations: 0 / 0.7384 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.137, allocations: 139.8 kB / 0.7386 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009919/1.138, allocations: 85 kB / 0.7386 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/1.139, allocations: 24.86 kB / 0.7387 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003413/1.142, allocations: 1.579 MB / 0.7402 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.142, allocations: 0 / 0.7402 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/1.146, allocations: 0.8489 MB / 0.741 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.148, allocations: 287.5 kB / 0.7413 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004781/1.148, allocations: 16 kB / 0.7413 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/1.15, allocations: 63.95 kB / 0.7414 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/1.15, allocations: 60.91 kB / 0.7415 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.15, allocations: 27.98 kB / 0.7415 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001639/1.152, allocations: 0.5263 MB / 0.742 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.31e-07/1.152, allocations: 0 / 0.742 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002126/1.154, allocations: 303.1 kB / 0.7423 GB, free: 12.87 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006658/1.16, allocations: 1.884 MB / 0.7441 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003162/1.164, allocations: 0.7075 MB / 0.7448 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.164, allocations: 0 / 0.7448 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/1.165, allocations: 485 kB / 0.7453 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/1.169, allocations: 380 kB / 0.7456 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/1.193, allocations: 5.965 MB / 0.7515 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/1.195, allocations: 1.097 MB / 0.7525 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002374/1.197, allocations: 283 kB / 0.7528 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/1.198, allocations: 439.3 kB / 0.7532 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of SimCode: time 1.283e-06/1.198, allocations: 0 / 0.7532 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1653/1.364, allocations: 23.53 MB / 0.7762 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004053/1.364, allocations: 262.4 kB / 0.7764 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.011/5.375, allocations: 4.062 kB / 0.7765 GB, free: 10.06 MB / 0.5919 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/linux/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) Environment - environmentSimulation: