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.001132/0.001132, allocations: 108 kB / 15.6 MB, free: 132 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.001348/0.001348, allocations: 190.3 kB / 16.53 MB, free: 6.391 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 64.98 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1745, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007545/0.1821, allocations: 4.855 MB / 0.5892 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5331/0.7153, allocations: 150.7 MB / 0.7364 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007846/0.7161, allocations: 26.75 kB / 0.7364 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008647/0.717, allocations: 339.4 kB / 0.7368 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.7187, allocations: 493.8 kB / 0.7372 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.7206, allocations: 0.8273 MB / 0.7381 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.7223, allocations: 1.339 MB / 0.7394 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.7237, allocations: 0.8117 MB / 0.7402 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008251/0.7245, allocations: 485.3 kB / 0.7406 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008035/0.7254, allocations: 0.5072 MB / 0.7411 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002579/0.7256, allocations: 117.2 kB / 0.7412 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000992/0.7266, allocations: 461.6 kB / 0.7417 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.727, allocations: 299.8 kB / 0.7419 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007284/0.7277, allocations: 0.6015 MB / 0.7425 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.7301, allocations: 1.711 MB / 0.7442 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7301, allocations: 1.469 kB / 0.7442 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7301, allocations: 0 / 0.7442 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.778e-05/0.7302, allocations: 0 / 0.7442 GB, free: 6.762 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.00444/0.7347, allocations: 1.578 MB / 0.7457 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.7347, allocations: 7.469 kB / 0.7458 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003039/0.735, allocations: 150 kB / 0.7459 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.7363, allocations: 208 kB / 0.7461 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.7381, allocations: 0.8653 MB / 0.7469 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-05/0.7382, allocations: 68.53 kB / 0.747 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.7383, allocations: 92.66 kB / 0.7471 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.74, allocations: 0.963 MB / 0.748 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.74, allocations: 4.5 kB / 0.748 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.7401, allocations: 42.25 kB / 0.7481 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.7401, allocations: 21.62 kB / 0.7481 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.742, allocations: 1.121 MB / 0.7492 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004315/0.7463, allocations: 2.685 MB / 0.7518 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.7476, allocations: 0.7042 MB / 0.7525 GB, free: 348 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004763/0.7481, allocations: 274.4 kB / 0.7528 GB, free: 72 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.037e-05/0.7482, allocations: 28.58 kB / 0.7528 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008289/0.749, allocations: 420.5 kB / 0.7532 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.935e-06/0.749, allocations: 0 / 0.7532 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.002834/0.7518, allocations: 1.077 MB / 0.7542 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.7519, allocations: 188.5 kB / 0.7544 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009283/0.7529, allocations: 0.7515 MB / 0.7552 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/0.7529, allocations: 49.64 kB / 0.7552 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.7533, allocations: 495.9 kB / 0.7557 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.7535, allocations: 232.6 kB / 0.7559 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.7537, allocations: 130.2 kB / 0.756 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7538, allocations: 330 kB / 0.7563 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.7543, allocations: 217.1 kB / 0.7565 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/0.7548, allocations: 314.8 kB / 0.7568 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009421/0.7558, allocations: 0.5156 MB / 0.7574 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7558, allocations: 0 / 0.7574 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001713/0.7575, allocations: 0.7312 MB / 0.7581 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.7575, allocations: 4 kB / 0.7581 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.7575, allocations: 1.969 kB / 0.7581 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.7581, allocations: 84.86 kB / 0.7582 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.7587, allocations: 131.8 kB / 0.7583 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.7607, allocations: 1.646 MB / 0.7599 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006219/0.7613, allocations: 72.34 kB / 0.76 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/0.7614, allocations: 31.55 kB / 0.76 GB, free: 8.371 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.0004265/0.7618, allocations: 273.7 kB / 0.7602 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.762, allocations: 98.91 kB / 0.7603 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.7641, allocations: 0.9781 MB / 0.7613 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.7642, allocations: 8 kB / 0.7613 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.7642, allocations: 4 kB / 0.7613 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.7642, allocations: 3.984 kB / 0.7613 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.7653, allocations: 0.932 MB / 0.7622 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.7653, allocations: 0 / 0.7622 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.7658, allocations: 139.8 kB / 0.7624 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/0.7663, allocations: 72.53 kB / 0.7624 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.7663, allocations: 27.98 kB / 0.7625 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.7682, allocations: 1.679 MB / 0.7641 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7682, allocations: 3.984 kB / 0.7641 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.7701, allocations: 0.8412 MB / 0.7649 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.7704, allocations: 271.6 kB / 0.7652 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.7706, allocations: 16 kB / 0.7652 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005619/0.7712, allocations: 51.94 kB / 0.7652 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.7713, allocations: 56.92 kB / 0.7653 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/0.7714, allocations: 31.98 kB / 0.7653 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007669/0.7722, allocations: 0.5263 MB / 0.7658 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7722, allocations: 11.88 kB / 0.7658 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008824/0.7731, allocations: 303.1 kB / 0.7661 GB, free: 1.82 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.003258/0.7763, allocations: 1.877 MB / 0.768 GB, free: 136 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002088/0.7784, allocations: 0.8869 MB / 0.7688 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7784, allocations: 0 / 0.7688 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008534/0.7793, allocations: 489 kB / 0.7693 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.7809, allocations: 466 kB / 0.7697 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.7926, allocations: 6.889 MB / 0.7765 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.7933, allocations: 1.074 MB / 0.7775 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008445/0.7941, allocations: 263.2 kB / 0.7778 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005477/0.7947, allocations: 447.2 kB / 0.7782 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.7947, allocations: 0 / 0.7782 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06417/0.8589, allocations: 23.62 MB / 0.8013 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.14, allocations: 4.062 kB / 0.8013 GB, free: 14.1 MB / 0.6231 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)