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.001185/0.001185, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.00146/0.00146, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9263/0.9263, allocations: 135.3 MB / 426.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004537, allocations: 12.22 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1795, allocations: 82.31 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005118/0.1846, allocations: 4.176 MB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4083/0.593, allocations: 136.9 MB / 0.7253 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009696/0.594, allocations: 21.56 kB / 0.7253 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.595, allocations: 253 kB / 0.7255 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.597, allocations: 399.4 kB / 0.7259 GB, free: 6.609 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.5993, allocations: 0.6286 MB / 0.7265 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001978/0.6013, allocations: 1.142 MB / 0.7276 GB, free: 5.727 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.6026, allocations: 0.5754 MB / 0.7282 GB, free: 5.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007389/0.6034, allocations: 329.9 kB / 0.7285 GB, free: 5.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007268/0.6041, allocations: 356.8 kB / 0.7289 GB, free: 5.164 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001947/0.6043, allocations: 26.66 kB / 0.7289 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.6054, allocations: 337.2 kB / 0.7292 GB, free: 5.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003455/0.6057, allocations: 180.2 kB / 0.7294 GB, free: 4.984 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.6061, allocations: 218 kB / 0.7296 GB, free: 4.828 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.6083, allocations: 1.282 MB / 0.7308 GB, free: 4.488 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6083, allocations: 0 / 0.7308 GB, free: 4.488 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6083, allocations: 0 / 0.7308 GB, free: 4.488 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.512e-05/0.6084, allocations: 0 / 0.7308 GB, free: 4.488 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.00296/0.6114, allocations: 1.339 MB / 0.7322 GB, free: 3.566 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.6114, allocations: 12.66 kB / 0.7322 GB, free: 3.562 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003526/0.6118, allocations: 148.8 kB / 0.7323 GB, free: 3.465 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.6129, allocations: 220.2 kB / 0.7325 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.6145, allocations: 0.8231 MB / 0.7333 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.6146, allocations: 67.5 kB / 0.7334 GB, free: 2.852 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.6147, allocations: 92.59 kB / 0.7335 GB, free: 2.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.6165, allocations: 0.9634 MB / 0.7344 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.6166, allocations: 0 / 0.7344 GB, free: 2.375 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-05/0.6167, allocations: 42.27 kB / 0.7345 GB, free: 2.344 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.6167, allocations: 23.25 kB / 0.7345 GB, free: 2.344 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.6185, allocations: 1.12 MB / 0.7356 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004147/0.6227, allocations: 2.733 MB / 0.7382 GB, free: 168 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.6238, allocations: 0.6987 MB / 0.7389 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.6243, allocations: 271.3 kB / 0.7392 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.54e-05/0.6244, allocations: 36 kB / 0.7392 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007333/0.6251, allocations: 417.9 kB / 0.7396 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 3.797e-06/0.6251, allocations: 3.984 kB / 0.7396 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69): time 0.00269/0.6278, allocations: 1.087 MB / 0.7407 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.6279, allocations: 190.3 kB / 0.7409 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.629, allocations: 0.7431 MB / 0.7416 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.6291, allocations: 43.45 kB / 0.7416 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/0.6295, allocations: 0.4897 MB / 0.7421 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.6296, allocations: 227.6 kB / 0.7423 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.6297, allocations: 11.56 kB / 0.7423 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6298, allocations: 328.5 kB / 0.7426 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.6302, allocations: 212.4 kB / 0.7428 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.6307, allocations: 315.3 kB / 0.7431 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.6312, allocations: 263 kB / 0.7434 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6312, allocations: 3.938 kB / 0.7434 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001649/0.6329, allocations: 0.7312 MB / 0.7441 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6329, allocations: 9.828 kB / 0.7441 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.6329, allocations: 0 / 0.7441 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005389/0.6335, allocations: 88.86 kB / 0.7442 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.634, allocations: 131.8 kB / 0.7443 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.636, allocations: 1.525 MB / 0.7458 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/0.6366, allocations: 90.3 kB / 0.7459 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.6367, allocations: 23.98 kB / 0.7459 GB, free: 9.953 MB / 0.5606 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.0005063/0.6372, allocations: 273.7 kB / 0.7462 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.6373, allocations: 98.73 kB / 0.7463 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.6395, allocations: 0.9986 MB / 0.7473 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.6395, allocations: 8 kB / 0.7473 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.6395, allocations: 0 / 0.7473 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.6395, allocations: 3.984 kB / 0.7473 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.6407, allocations: 0.9426 MB / 0.7482 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6407, allocations: 0 / 0.7482 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.6412, allocations: 139.8 kB / 0.7483 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/0.6417, allocations: 80.78 kB / 0.7484 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.6418, allocations: 19.98 kB / 0.7484 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.6435, allocations: 1.56 MB / 0.75 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6435, allocations: 0 / 0.75 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.6452, allocations: 0.8451 MB / 0.7508 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/0.6456, allocations: 287.5 kB / 0.751 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.6458, allocations: 20 kB / 0.7511 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005121/0.6463, allocations: 63.94 kB / 0.7511 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.6464, allocations: 68.86 kB / 0.7512 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.195e-05/0.6465, allocations: 32.11 kB / 0.7512 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007286/0.6472, allocations: 0.5224 MB / 0.7517 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6472, allocations: 0 / 0.7517 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009177/0.6481, allocations: 307.1 kB / 0.752 GB, free: 3.469 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.003202/0.6514, allocations: 1.891 MB / 0.7539 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.6528, allocations: 0.7076 MB / 0.7546 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6528, allocations: 3.938 kB / 0.7546 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008126/0.6536, allocations: 480.8 kB / 0.755 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.6552, allocations: 388.1 kB / 0.7554 GB, free: 180 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.667, allocations: 5.573 MB / 0.7608 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/0.6677, allocations: 1.07 MB / 0.7619 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001002/0.6687, allocations: 279.1 kB / 0.7622 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.6693, allocations: 443.3 kB / 0.7626 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of SimCode: time 6.72e-07/0.6693, allocations: 0 / 0.7626 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04367/0.713, allocations: 23.57 MB / 0.7856 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.7133, allocations: 257.4 kB / 0.7858 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/2.987, allocations: 0 / 0.7858 GB, free: 1.055 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: