Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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.001256/0.001256, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001402/0.001402, allocations: 219.3 kB / 22.26 MB, free: 5.207 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002514/0.002514, allocations: 288.6 kB / 312.7 MB, free: 2.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.191/1.191, allocations: 180.6 MB / 0.5369 GB, free: 12.9 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002824/0.002824, allocations: 100.2 kB / 0.7396 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1575, allocations: 95.38 MB / 0.8327 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5736/0.7312, allocations: 164.9 MB / 0.9938 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004273/0.7354, allocations: 4.622 MB / 0.9983 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003174/0.7358, allocations: 16.16 kB / 0.9983 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.7362, allocations: 124.1 kB / 0.9984 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007181/0.7369, allocations: 350 kB / 0.9987 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007205/0.7376, allocations: 300.1 kB / 0.999 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000533/0.7381, allocations: 0.5649 MB / 0.9996 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.7384, allocations: 163.6 kB / 0.9997 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009569/0.7394, allocations: 476.5 kB / 1 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.7397, allocations: 209.5 kB / 1 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.7397, allocations: 19.94 kB / 1 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.7399, allocations: 88.67 kB / 1 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.74, allocations: 87.03 kB / 1.001 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.7402, allocations: 120.8 kB / 1.001 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.7406, allocations: 302.3 kB / 1.001 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7406, allocations: 2.031 kB / 1.001 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7406, allocations: 1.406 kB / 1.001 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.7406, allocations: 0 / 1.001 GB, free: 3.379 MB / 0.7169 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.000987/0.7416, allocations: 472.4 kB / 1.001 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.7416, allocations: 12.12 kB / 1.001 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.7417, allocations: 52.61 kB / 1.001 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.7417, allocations: 34.12 kB / 1.002 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.7421, allocations: 227.6 kB / 1.002 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.7422, allocations: 12.5 kB / 1.002 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.7422, allocations: 22.38 kB / 1.002 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.7426, allocations: 269.1 kB / 1.002 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.7426, allocations: 0 / 1.002 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.7426, allocations: 8.062 kB / 1.002 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.7427, allocations: 8.375 kB / 1.002 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.743, allocations: 149.9 kB / 1.002 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.7443, allocations: 1.329 MB / 1.003 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.7446, allocations: 177.2 kB / 1.004 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.7447, allocations: 94.45 kB / 1.004 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/0.7451, allocations: 40.98 kB / 1.004 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.7451, allocations: 40.58 kB / 1.004 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.7451, allocations: 1.203 kB / 1.004 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.000602/0.7457, allocations: 215.4 kB / 1.004 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.7458, allocations: 187 kB / 1.004 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.7461, allocations: 291.3 kB / 1.004 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.7461, allocations: 31.11 kB / 1.005 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.7462, allocations: 147.7 kB / 1.005 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.7463, allocations: 42.28 kB / 1.005 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.7463, allocations: 36.53 kB / 1.005 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7465, allocations: 333.5 kB / 1.005 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.7466, allocations: 46.55 kB / 1.005 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.7468, allocations: 117.7 kB / 1.005 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.7471, allocations: 157.6 kB / 1.005 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7471, allocations: 1.062 kB / 1.005 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003941/0.7475, allocations: 192.1 kB / 1.006 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7475, allocations: 5.969 kB / 1.006 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7475, allocations: 13.05 kB / 1.006 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.7475, allocations: 2.906 kB / 1.006 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.7477, allocations: 34.97 kB / 1.006 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.7477, allocations: 5.766 kB / 1.006 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.7478, allocations: 22.27 kB / 1.006 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.7479, allocations: 9.969 kB / 1.006 GB, free: 16.39 MB / 0.7325 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.0001482/0.748, allocations: 149.3 kB / 1.006 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.7481, allocations: 30.25 kB / 1.006 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.7485, allocations: 135.4 kB / 1.006 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.7485, allocations: 4.328 kB / 1.006 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7485, allocations: 3.062 kB / 1.006 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.7485, allocations: 1.812 kB / 1.006 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008788/0.7494, allocations: 0.7416 MB / 1.007 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7494, allocations: 3.25 kB / 1.007 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.7495, allocations: 23.33 kB / 1.007 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.7495, allocations: 3 kB / 1.007 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.7495, allocations: 5.781 kB / 1.007 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.768e-06/0.7495, allocations: 7.297 kB / 1.007 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7495, allocations: 4.453 kB / 1.007 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.7501, allocations: 340.1 kB / 1.007 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.7501, allocations: 40.41 kB / 1.007 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.7502, allocations: 3.312 kB / 1.007 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.7503, allocations: 10.03 kB / 1.007 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.7503, allocations: 18.44 kB / 1.007 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.7503, allocations: 4.625 kB / 1.007 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002286/0.7506, allocations: 208.8 kB / 1.007 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7506, allocations: 2.141 kB / 1.007 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003662/0.7509, allocations: 53.03 kB / 1.007 GB, free: 15.33 MB / 0.7325 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.0009478/0.7519, allocations: 0.8918 MB / 1.008 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.7522, allocations: 124 kB / 1.008 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7522, allocations: 1.062 kB / 1.008 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.7524, allocations: 55.72 kB / 1.008 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.7531, allocations: 131.8 kB / 1.009 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.7565, allocations: 2.621 MB / 1.011 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.7569, allocations: 0.7603 MB / 1.012 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.757, allocations: 48.08 kB / 1.012 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.243e-05/0.7571, allocations: 69.97 kB / 1.012 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.7571, allocations: 3.188 kB / 1.012 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03841/0.7955, allocations: 7.046 MB / 1.019 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/11.06, allocations: 4.938 kB / 1.019 GB, free: 11.8 MB / 0.7325 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.125014317000023] Failed to read output from testmodel.py, exit status != 0: 11.178996079001081 11.194521665 10.450764142 Calling exit ...