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.001398/0.001398, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001426/0.001426, allocations: 221.1 kB / 22.26 MB, free: 5.215 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 8 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.002463/0.002463, allocations: 289.8 kB / 312.7 MB, free: 2.797 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.241/1.241, allocations: 180.6 MB / 0.5369 GB, free: 13.04 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.002806/0.002806, allocations: 103.5 kB / 0.7396 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1754, allocations: 95.39 MB / 0.8327 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5774/0.7529, allocations: 164.9 MB / 0.9938 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004336/0.7572, allocations: 4.62 MB / 0.9983 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/0.7576, allocations: 16.75 kB / 0.9983 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.7581, allocations: 127 kB / 0.9984 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007734/0.7588, allocations: 350.4 kB / 0.9987 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.7596, allocations: 292.3 kB / 0.999 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005218/0.7601, allocations: 0.5719 MB / 0.9996 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.7604, allocations: 162.6 kB / 0.9997 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008843/0.7613, allocations: 479.5 kB / 1 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.7615, allocations: 207.2 kB / 1 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.7616, allocations: 21.53 kB / 1 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.7618, allocations: 86.73 kB / 1 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.7619, allocations: 89.17 kB / 1.001 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.762, allocations: 120.8 kB / 1.001 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.7625, allocations: 299.6 kB / 1.001 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7625, allocations: 1.625 kB / 1.001 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.013e-06/0.7625, allocations: 0 / 1.001 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.7625, allocations: 0.9062 kB / 1.001 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.0009892/0.7635, allocations: 474.7 kB / 1.001 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.7635, allocations: 11.81 kB / 1.001 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.7636, allocations: 53 kB / 1.001 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.7636, allocations: 33.38 kB / 1.002 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.764, allocations: 231.3 kB / 1.002 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.764, allocations: 13.38 kB / 1.002 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.7641, allocations: 24.41 kB / 1.002 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.7645, allocations: 260.6 kB / 1.002 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.7645, allocations: 4.188 kB / 1.002 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.7645, allocations: 7.844 kB / 1.002 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.7645, allocations: 9.031 kB / 1.002 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.7649, allocations: 146.3 kB / 1.002 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.7662, allocations: 1.331 MB / 1.003 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.7665, allocations: 178.7 kB / 1.004 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.7666, allocations: 95.23 kB / 1.004 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/0.767, allocations: 42.39 kB / 1.004 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.767, allocations: 44.81 kB / 1.004 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.767, allocations: 0 / 1.004 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006186/0.7676, allocations: 207.1 kB / 1.004 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.7677, allocations: 188.2 kB / 1.004 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/0.7681, allocations: 289.3 kB / 1.004 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.7681, allocations: 33.83 kB / 1.005 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.7682, allocations: 148.1 kB / 1.005 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.7682, allocations: 42.41 kB / 1.005 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.7683, allocations: 34.23 kB / 1.005 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.7684, allocations: 335.4 kB / 1.005 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.7686, allocations: 44.98 kB / 1.005 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.7688, allocations: 116.5 kB / 1.005 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.769, allocations: 153.4 kB / 1.005 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.769, allocations: 0.5 kB / 1.005 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004363/0.7695, allocations: 198.9 kB / 1.006 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.7695, allocations: 5.719 kB / 1.006 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.7695, allocations: 10.09 kB / 1.006 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.343e-05/0.7696, allocations: 3.688 kB / 1.006 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.7697, allocations: 29.36 kB / 1.006 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.7697, allocations: 9.562 kB / 1.006 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.7699, allocations: 26.81 kB / 1.006 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.77, allocations: 12.25 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.0001769/0.7701, allocations: 150.1 kB / 1.006 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.7703, allocations: 28.31 kB / 1.006 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/0.7706, allocations: 130.4 kB / 1.006 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.7706, allocations: 3.656 kB / 1.006 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.7706, allocations: 1.938 kB / 1.006 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.7707, allocations: 1.781 kB / 1.006 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.7717, allocations: 0.746 MB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.7717, allocations: 3.406 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.7718, allocations: 20.22 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.7718, allocations: 2.969 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.7719, allocations: 6.844 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.7719, allocations: 5.703 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.7719, allocations: 4.812 kB / 1.007 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.7725, allocations: 344 kB / 1.007 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.7726, allocations: 39.81 kB / 1.007 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.7726, allocations: 2.406 kB / 1.007 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.7728, allocations: 8.375 kB / 1.007 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.7728, allocations: 18.53 kB / 1.007 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.7728, allocations: 9.297 kB / 1.007 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002882/0.7731, allocations: 207.4 kB / 1.007 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7731, allocations: 1.062 kB / 1.007 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004279/0.7736, allocations: 56.84 kB / 1.007 GB, free: 15.36 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.001076/0.7746, allocations: 0.8898 MB / 1.008 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003951/0.775, allocations: 118.3 kB / 1.008 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.775, allocations: 1.734 kB / 1.008 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.7752, allocations: 60.77 kB / 1.008 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.0007273/0.7759, allocations: 125.5 kB / 1.009 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.7795, allocations: 2.623 MB / 1.011 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.7799, allocations: 0.759 MB / 1.012 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001937/0.7801, allocations: 49.41 kB / 1.012 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.7802, allocations: 69.78 kB / 1.012 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.7802, allocations: 0.875 kB / 1.012 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.8197, allocations: 7.046 MB / 1.019 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.5, allocations: 11.2 kB / 1.019 GB, free: 11.83 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.619349841028452] Failed to read output from testmodel.py, exit status != 0: 11.607374252052978 11.618678682 10.853762393 Calling exit ...