Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 110.3 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 245.1 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.135/1.135, allocations: 173.4 MB / 470.7 MB, free: 6.695 MB / 366.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-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.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 68.48 kB / 0.6479 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1991, allocations: 89.52 MB / 0.7353 GB, free: 4.129 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6462/0.8453, allocations: 161.4 MB / 0.8929 GB, free: 424 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005512/0.8509, allocations: 4.545 MB / 0.8973 GB, free: 248 kB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00046/0.8514, allocations: 9.969 kB / 0.8973 GB, free: 244 kB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004534/0.8518, allocations: 123.3 kB / 0.8974 GB, free: 188 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.000874/0.8528, allocations: 335.4 kB / 0.8978 GB, free: 100 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008318/0.8536, allocations: 278.7 kB / 0.898 GB, free: 76 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007694/0.8544, allocations: 0.5564 MB / 0.8986 GB, free: 0 / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004128/0.8548, allocations: 206.7 kB / 0.8988 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.8565, allocations: 0.6489 MB / 0.8994 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.8568, allocations: 182.7 kB / 0.8996 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.8568, allocations: 16.34 kB / 0.8996 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.857, allocations: 86.78 kB / 0.8997 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.71e-05/0.8571, allocations: 91.66 kB / 0.8998 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.8573, allocations: 120.3 kB / 0.8999 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.8577, allocations: 290.9 kB / 0.9001 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8577, allocations: 2.297 kB / 0.9001 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.958e-06/0.8577, allocations: 0 / 0.9001 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.8577, allocations: 3.938 kB / 0.9002 GB, free: 15.83 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008894/0.8586, allocations: 0.545 MB / 0.9007 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.8587, allocations: 11.8 kB / 0.9007 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/0.8587, allocations: 49.83 kB / 0.9007 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.8588, allocations: 33.16 kB / 0.9008 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.8592, allocations: 287.7 kB / 0.901 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.8592, allocations: 11.78 kB / 0.9011 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.8593, allocations: 18.66 kB / 0.9011 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.8597, allocations: 272.2 kB / 0.9013 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.8597, allocations: 1.062 kB / 0.9013 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.8598, allocations: 6.125 kB / 0.9013 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.8598, allocations: 9.406 kB / 0.9014 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.8601, allocations: 145.1 kB / 0.9015 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.8615, allocations: 1.379 MB / 0.9028 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.8618, allocations: 171.4 kB / 0.903 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.8619, allocations: 103.5 kB / 0.9031 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003474/0.8623, allocations: 117.4 kB / 0.9032 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.8623, allocations: 47.27 kB / 0.9033 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.943e-06/0.8623, allocations: 0 / 0.9033 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0005928/0.8629, allocations: 207.8 kB / 0.9035 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.8631, allocations: 188.2 kB / 0.9036 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.8633, allocations: 290.8 kB / 0.9039 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.8634, allocations: 30.8 kB / 0.9039 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.8635, allocations: 143.2 kB / 0.9041 GB, free: 13 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.8635, allocations: 42.59 kB / 0.9041 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.8636, allocations: 34.23 kB / 0.9042 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.8638, allocations: 337.3 kB / 0.9045 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.8639, allocations: 46.41 kB / 0.9045 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.8641, allocations: 110.8 kB / 0.9046 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.8644, allocations: 162.2 kB / 0.9048 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8644, allocations: 1.094 kB / 0.9048 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003709/0.8647, allocations: 191.1 kB / 0.905 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.8648, allocations: 7.312 kB / 0.905 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.8648, allocations: 1.094 kB / 0.905 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.8648, allocations: 14.14 kB / 0.905 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.865, allocations: 31.53 kB / 0.905 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.865, allocations: 7.062 kB / 0.905 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.8651, allocations: 28.95 kB / 0.905 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.8652, allocations: 8.156 kB / 0.9051 GB, free: 12.41 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.8653, allocations: 148.8 kB / 0.9052 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.8655, allocations: 28.02 kB / 0.9052 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.8658, allocations: 136.4 kB / 0.9054 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8658, allocations: 2.562 kB / 0.9054 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.8658, allocations: 2.375 kB / 0.9054 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.8658, allocations: 1.531 kB / 0.9054 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008981/0.8667, allocations: 0.7715 MB / 0.9061 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8667, allocations: 1.25 kB / 0.9061 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.8669, allocations: 26.12 kB / 0.9061 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8669, allocations: 2.688 kB / 0.9061 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.8669, allocations: 2.719 kB / 0.9061 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.8669, allocations: 5.031 kB / 0.9061 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8669, allocations: 2.734 kB / 0.9062 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.8675, allocations: 346.5 kB / 0.9065 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.8676, allocations: 111.7 kB / 0.9066 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.8677, allocations: 10.25 kB / 0.9066 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.8678, allocations: 6.531 kB / 0.9066 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.8679, allocations: 21.28 kB / 0.9066 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.8679, allocations: 6.031 kB / 0.9066 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002177/0.8681, allocations: 208.2 kB / 0.9068 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8681, allocations: 1.203 kB / 0.9068 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000366/0.8685, allocations: 52.58 kB / 0.9069 GB, free: 11.18 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001166/0.8697, allocations: 0.9121 MB / 0.9078 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.87, allocations: 123.7 kB / 0.9079 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8701, allocations: 5.438 kB / 0.9079 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.8702, allocations: 61.58 kB / 0.908 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007309/0.8709, allocations: 127 kB / 0.9081 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.8743, allocations: 2.616 MB / 0.9106 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.8747, allocations: 0.7566 MB / 0.9114 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.8749, allocations: 43.48 kB / 0.9114 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.875, allocations: 75.27 kB / 0.9115 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of SimCode: time 3.31e-07/0.875, allocations: 0 / 0.9115 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.9052, allocations: 6.856 MB / 0.9182 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.845, allocations: 11.62 kB / 0.9182 GB, free: 7.363 MB / 0.6856 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.738419058965519] Failed to read output from testmodel.py, exit status != 0: 8.91115808696486 8.922567817 8.062575489 Calling exit ...