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.001453/0.001453, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001637/0.001637, 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.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002445/0.002445, allocations: 287.9 kB / 313.5 MB, free: 2.805 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.194/1.194, allocations: 180.6 MB / 0.5377 GB, free: 12.94 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="cs",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.00274/0.00274, allocations: 95.75 kB / 0.7404 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.155, allocations: 95.38 MB / 0.8335 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5905/0.7456, allocations: 164.9 MB / 0.9945 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004274/0.7498, allocations: 4.623 MB / 0.999 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004365/0.7503, allocations: 17 kB / 0.9991 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.7507, allocations: 121.2 kB / 0.9992 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000781/0.7515, allocations: 357.5 kB / 0.9995 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.7522, allocations: 288.8 kB / 0.9998 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.7527, allocations: 0.5722 MB / 1 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.753, allocations: 158.1 kB / 1.001 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008966/0.7539, allocations: 481.2 kB / 1.001 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.7542, allocations: 204.7 kB / 1.001 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.7542, allocations: 17.78 kB / 1.001 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.7544, allocations: 87.22 kB / 1.001 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.7546, allocations: 82.95 kB / 1.001 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.7547, allocations: 125.7 kB / 1.001 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.7551, allocations: 302.8 kB / 1.002 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7552, allocations: 2.469 kB / 1.002 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7552, allocations: 0 / 1.002 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.7552, allocations: 0.8438 kB / 1.002 GB, free: 3.406 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.0009841/0.7561, allocations: 470.6 kB / 1.002 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7562, allocations: 12.12 kB / 1.002 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.939e-05/0.7562, allocations: 4.531 kB / 1.002 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.7563, allocations: 55.73 kB / 1.002 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.7563, allocations: 33 kB / 1.002 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.7567, allocations: 236 kB / 1.003 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.7567, allocations: 15.94 kB / 1.003 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.7567, allocations: 16.09 kB / 1.003 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.7572, allocations: 265 kB / 1.003 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.7572, allocations: 0 / 1.003 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.7572, allocations: 16.23 kB / 1.003 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.7572, allocations: 5.5 kB / 1.003 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.7575, allocations: 149.3 kB / 1.003 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.7589, allocations: 1.33 MB / 1.004 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.7592, allocations: 179.2 kB / 1.004 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.7594, allocations: 93.11 kB / 1.005 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/0.7597, allocations: 40.86 kB / 1.005 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.7597, allocations: 39.39 kB / 1.005 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.7597, allocations: 4.594 kB / 1.005 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007005/0.7604, allocations: 210.5 kB / 1.005 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.7606, allocations: 183.8 kB / 1.005 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.7609, allocations: 292.2 kB / 1.005 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.761, allocations: 27.42 kB / 1.005 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.7611, allocations: 152.5 kB / 1.005 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.7611, allocations: 43.53 kB / 1.005 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/0.7612, allocations: 37.5 kB / 1.006 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.7614, allocations: 336.7 kB / 1.006 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.7615, allocations: 44.94 kB / 1.006 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.7617, allocations: 113.9 kB / 1.006 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.7621, allocations: 159.4 kB / 1.006 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7621, allocations: 0.7188 kB / 1.006 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004502/0.7625, allocations: 194.5 kB / 1.006 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.7625, allocations: 13.03 kB / 1.006 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.7625, allocations: 2.25 kB / 1.006 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.7626, allocations: 2.938 kB / 1.006 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.7627, allocations: 30.77 kB / 1.006 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.7628, allocations: 9.016 kB / 1.006 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.7629, allocations: 28.56 kB / 1.006 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.763, allocations: 11.06 kB / 1.006 GB, free: 16.42 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.000205/0.7632, allocations: 151.5 kB / 1.007 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.7633, allocations: 31.78 kB / 1.007 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.7637, allocations: 129.6 kB / 1.007 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.7637, allocations: 2.625 kB / 1.007 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.7637, allocations: 2.625 kB / 1.007 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.7638, allocations: 2.188 kB / 1.007 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.7648, allocations: 0.7452 MB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7648, allocations: 8.562 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.7649, allocations: 21.27 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.7649, allocations: 2.562 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.765, allocations: 2.844 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.765, allocations: 4.141 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.765, allocations: 5.812 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.7656, allocations: 341.6 kB / 1.008 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.62e-05/0.7657, allocations: 33.34 kB / 1.008 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.7657, allocations: 9.609 kB / 1.008 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.7659, allocations: 4.938 kB / 1.008 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.7659, allocations: 22.27 kB / 1.008 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.7659, allocations: 5.125 kB / 1.008 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002752/0.7662, allocations: 210.3 kB / 1.008 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7662, allocations: 1.406 kB / 1.008 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004367/0.7666, allocations: 53.41 kB / 1.008 GB, free: 15.35 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.001171/0.7678, allocations: 0.8904 MB / 1.009 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.7683, allocations: 119.8 kB / 1.009 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7683, allocations: 0 / 1.009 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.7684, allocations: 58.45 kB / 1.009 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008418/0.7693, allocations: 140.1 kB / 1.009 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003683/0.773, allocations: 2.619 MB / 1.012 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.7734, allocations: 0.754 MB / 1.013 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000181/0.7735, allocations: 59.94 kB / 1.013 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.7736, allocations: 68.08 kB / 1.013 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.7736, allocations: 2.188 kB / 1.013 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.8025, allocations: 7.065 MB / 1.02 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.71, allocations: 10.73 kB / 1.02 GB, free: 11.81 MB / 0.7325 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.786770134989638] Failed to read output from testmodel.py, exit status != 0: 11.869361030985601 11.884138832 11.126098218 Calling exit ...