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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 113.8 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 219.6 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8333/0.8333, allocations: 134 MB / 447.2 MB, free: 10.21 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002951/0.002951, allocations: 64.75 kB / 0.6193 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1682, allocations: 85.9 MB / 0.7032 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007305/0.1755, allocations: 4.976 MB / 0.708 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5283/0.7039, allocations: 154.3 MB / 0.8587 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008651/0.7047, allocations: 39.62 kB / 0.8587 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.7058, allocations: 351.6 kB / 0.8591 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.7078, allocations: 0.5126 MB / 0.8596 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.7102, allocations: 0.8757 MB / 0.8604 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001907/0.7121, allocations: 1.364 MB / 0.8617 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000951/0.713, allocations: 0.5458 MB / 0.8623 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007972/0.7138, allocations: 0.5097 MB / 0.8628 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006981/0.7145, allocations: 0.523 MB / 0.8633 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.7147, allocations: 120 kB / 0.8634 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.7157, allocations: 0.5169 MB / 0.8639 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.7161, allocations: 310.9 kB / 0.8642 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005771/0.7166, allocations: 0.6021 MB / 0.8648 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002338/0.719, allocations: 1.823 MB / 0.8666 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.719, allocations: 0 / 0.8666 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/0.719, allocations: 0 / 0.8666 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.719, allocations: 0 / 0.8666 GB, free: 15.24 MB / 0.6387 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.002742/0.7217, allocations: 1.567 MB / 0.8681 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.7218, allocations: 8.031 kB / 0.8681 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.94e-05/0.7218, allocations: 30.19 kB / 0.8681 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.722, allocations: 148.1 kB / 0.8683 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.7235, allocations: 255.8 kB / 0.8685 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.725, allocations: 0.8198 MB / 0.8693 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.7251, allocations: 70 kB / 0.8694 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.7252, allocations: 92 kB / 0.8695 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.7269, allocations: 0.9649 MB / 0.8704 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.7269, allocations: 7.938 kB / 0.8704 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.752e-05/0.727, allocations: 40 kB / 0.8705 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.727, allocations: 24 kB / 0.8705 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.7289, allocations: 1.124 MB / 0.8716 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00448/0.7333, allocations: 2.61 MB / 0.8741 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.7346, allocations: 0.6588 MB / 0.8748 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.7351, allocations: 254.6 kB / 0.875 GB, free: 6.402 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.158e-05/0.7352, allocations: 28.7 kB / 0.8751 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008558/0.7361, allocations: 411.3 kB / 0.8754 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 2.474e-06/0.7361, allocations: 0 / 0.8754 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.003184/0.7393, allocations: 1.026 MB / 0.8764 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.7394, allocations: 192.6 kB / 0.8766 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.7405, allocations: 0.7712 MB / 0.8774 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.7407, allocations: 45.64 kB / 0.8774 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/0.7412, allocations: 0.5085 MB / 0.8779 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.7414, allocations: 238 kB / 0.8781 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.7416, allocations: 122.3 kB / 0.8783 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7418, allocations: 334 kB / 0.8786 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/0.7422, allocations: 209.2 kB / 0.8788 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.7428, allocations: 318.7 kB / 0.8791 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.7438, allocations: 0.5121 MB / 0.8796 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.7438, allocations: 7.938 kB / 0.8796 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001911/0.7457, allocations: 0.7317 MB / 0.8803 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.7458, allocations: 7.984 kB / 0.8803 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7458, allocations: 0 / 0.8803 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/0.7464, allocations: 80.88 kB / 0.8804 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005429/0.7469, allocations: 131.8 kB / 0.8805 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.7491, allocations: 1.543 MB / 0.882 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006833/0.7498, allocations: 80.19 kB / 0.8821 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.7499, allocations: 35.92 kB / 0.8821 GB, free: 14.84 MB / 0.6544 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.0005664/0.7504, allocations: 263.9 kB / 0.8824 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.7507, allocations: 111.3 kB / 0.8825 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.7529, allocations: 0.9675 MB / 0.8834 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.7529, allocations: 12 kB / 0.8835 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.7529, allocations: 0 / 0.8835 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.7529, allocations: 3.984 kB / 0.8835 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.7541, allocations: 0.9223 MB / 0.8844 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.7541, allocations: 4 kB / 0.8844 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.7546, allocations: 139.8 kB / 0.8845 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/0.7551, allocations: 72.78 kB / 0.8846 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/0.7551, allocations: 23.98 kB / 0.8846 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.7572, allocations: 1.57 MB / 0.8861 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7572, allocations: 0 / 0.8861 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.759, allocations: 0.8573 MB / 0.887 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/0.7594, allocations: 199 kB / 0.8871 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.7595, allocations: 19.94 kB / 0.8872 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.7601, allocations: 47.94 kB / 0.8872 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.7602, allocations: 64.89 kB / 0.8873 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/0.7603, allocations: 27.98 kB / 0.8873 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008146/0.7611, allocations: 0.5537 MB / 0.8878 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7611, allocations: 0 / 0.8878 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008515/0.7619, allocations: 303.1 kB / 0.8881 GB, free: 8.5 MB / 0.6544 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.004014/0.7659, allocations: 1.898 MB / 0.89 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.7676, allocations: 0.6887 MB / 0.8907 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7676, allocations: 0 / 0.8907 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008879/0.7684, allocations: 460.4 kB / 0.8911 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.7702, allocations: 450.6 kB / 0.8915 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.7826, allocations: 6.679 MB / 0.898 GB, free: 14.38 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/0.7834, allocations: 1.082 MB / 0.8991 GB, free: 13.27 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009042/0.7843, allocations: 279.2 kB / 0.8994 GB, free: 13 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/0.7849, allocations: 459.2 kB / 0.8998 GB, free: 12.55 MB / 0.67 GB Notification: Performance of SimCode: time 9.52e-07/0.7849, allocations: 0 / 0.8998 GB, free: 12.55 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06212/0.847, allocations: 24.8 MB / 0.924 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.34, allocations: 16 kB / 0.924 GB, free: 3.922 MB / 0.6856 GB " [Timeout remaining time 644] (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 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.178843272966333] Failed to read output from testmodel.py, exit status != 0: 15.632632057066076 15.659297296 14.935093416 Calling exit ...