Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001185/0.001185, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001444/0.001444, allocations: 169.9 kB / 23.21 MB, free: 1.359 MB / 18.57 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 0.8834/0.8834, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5455/0.5455, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.5542 GB, free: 1.691 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.327e-05, allocations: 9.031 kB / 0.5542 GB, free: 1.684 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4254/0.4254, allocations: 142.1 MB / 0.693 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00408/0.4295, allocations: 4.158 MB / 0.6971 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.4299, allocations: 14.06 kB / 0.6971 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.4303, allocations: 138.9 kB / 0.6972 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006805/0.431, allocations: 340 kB / 0.6975 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.4315, allocations: 299.5 kB / 0.6978 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.432, allocations: 0.5264 MB / 0.6983 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.4323, allocations: 154.1 kB / 0.6985 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.4335, allocations: 0.7292 MB / 0.6992 GB, free: 5.145 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.4337, allocations: 174.2 kB / 0.6994 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.4337, allocations: 17.56 kB / 0.6994 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.4339, allocations: 83.95 kB / 0.6995 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.265e-05/0.434, allocations: 91.48 kB / 0.6995 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.101e-05/0.434, allocations: 78.03 kB / 0.6996 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.4344, allocations: 306.4 kB / 0.6999 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.4344, allocations: 4 kB / 0.6999 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4344, allocations: 0 / 0.6999 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4344, allocations: 0 / 0.6999 GB, free: 4.934 MB / 0.5573 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.0005992/0.435, allocations: 466.3 kB / 0.7004 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.435, allocations: 11.08 kB / 0.7004 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.4351, allocations: 53.94 kB / 0.7004 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.4351, allocations: 29.25 kB / 0.7005 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.4354, allocations: 218.6 kB / 0.7007 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.4354, allocations: 16.16 kB / 0.7007 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.4354, allocations: 25.17 kB / 0.7007 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.4357, allocations: 261 kB / 0.701 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4358, allocations: 1.406 kB / 0.701 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.4358, allocations: 10.72 kB / 0.701 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.4358, allocations: 3.844 kB / 0.701 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.436, allocations: 152.5 kB / 0.7011 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007841/0.4368, allocations: 1.283 MB / 0.7024 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.437, allocations: 177.2 kB / 0.7025 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.489e-05/0.437, allocations: 96.41 kB / 0.7026 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.4372, allocations: 42.3 kB / 0.7027 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.4372, allocations: 46.56 kB / 0.7027 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.4372, allocations: 0 / 0.7027 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0003658/0.4376, allocations: 203.4 kB / 0.7029 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.4376, allocations: 191.3 kB / 0.7031 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.4378, allocations: 290.5 kB / 0.7034 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.4378, allocations: 26.73 kB / 0.7034 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.4379, allocations: 151.5 kB / 0.7035 GB, free: 2.012 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.4379, allocations: 36.88 kB / 0.7036 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.438, allocations: 43.67 kB / 0.7036 GB, free: 1.949 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.595e-05/0.438, allocations: 333.4 kB / 0.7039 GB, free: 1.629 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.4381, allocations: 46.83 kB / 0.704 GB, free: 1.617 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.4382, allocations: 222.2 kB / 0.7042 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.4383, allocations: 160.1 kB / 0.7043 GB, free: 1.297 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4383, allocations: 1.625 kB / 0.7043 GB, free: 1.297 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002135/0.4386, allocations: 188.6 kB / 0.7045 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4386, allocations: 11.53 kB / 0.7045 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4386, allocations: 5.375 kB / 0.7045 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4386, allocations: 2.75 kB / 0.7045 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.116e-05/0.4387, allocations: 32.92 kB / 0.7046 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.4387, allocations: 2.688 kB / 0.7046 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.4388, allocations: 29.52 kB / 0.7046 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.4388, allocations: 11.06 kB / 0.7046 GB, free: 1.184 MB / 0.5573 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 7.986e-05/0.4389, allocations: 143.6 kB / 0.7047 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.439, allocations: 29.14 kB / 0.7048 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.4392, allocations: 136.2 kB / 0.7049 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4392, allocations: 6.828 kB / 0.7049 GB, free: 0.9609 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4392, allocations: 1.344 kB / 0.7049 GB, free: 0.9609 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.4392, allocations: 5.344 kB / 0.7049 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.4397, allocations: 0.7251 MB / 0.7056 GB, free: 300 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4397, allocations: 2.25 kB / 0.7056 GB, free: 300 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.999e-05/0.4397, allocations: 22.23 kB / 0.7056 GB, free: 300 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4397, allocations: 5.531 kB / 0.7057 GB, free: 296 kB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.4398, allocations: 2.781 kB / 0.7057 GB, free: 296 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4398, allocations: 5.188 kB / 0.7057 GB, free: 296 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4398, allocations: 1.281 kB / 0.7057 GB, free: 296 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.44, allocations: 345.2 kB / 0.706 GB, free: 52 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.4401, allocations: 34.78 kB / 0.706 GB, free: 32 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.4401, allocations: 8.625 kB / 0.706 GB, free: 28 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.4402, allocations: 11.22 kB / 0.706 GB, free: 24 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.4402, allocations: 11.19 kB / 0.7061 GB, free: 20 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.4402, allocations: 9.797 kB / 0.7061 GB, free: 16 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001802/0.4404, allocations: 210.5 kB / 0.7063 GB, free: 15.91 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.4404, allocations: 1.344 kB / 0.7063 GB, free: 15.91 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002526/0.4407, allocations: 48.81 kB / 0.7063 GB, free: 15.91 MB / 0.573 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.0005981/0.4413, allocations: 0.8954 MB / 0.7072 GB, free: 15.14 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.4415, allocations: 116.6 kB / 0.7073 GB, free: 15.11 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4415, allocations: 1.375 kB / 0.7073 GB, free: 15.11 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 7.62e-05/0.4415, allocations: 57.94 kB / 0.7074 GB, free: 15.09 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.442, allocations: 118.9 kB / 0.7075 GB, free: 15.06 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.4441, allocations: 2.573 MB / 0.71 GB, free: 13.25 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.647e-05/0.4442, allocations: 148.7 kB / 0.7101 GB, free: 13.16 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001169/0.4443, allocations: 49.56 kB / 0.7102 GB, free: 13.16 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/0.4444, allocations: 67.19 kB / 0.7102 GB, free: 13.11 MB / 0.573 GB Notification: Performance of SimCode: time 5.91e-07/0.4444, allocations: 2.75 kB / 0.7102 GB, free: 13.11 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.4678, allocations: 7.743 MB / 0.7178 GB, free: 9.883 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.306/7.774, allocations: 2.938 kB / 0.7178 GB, free: 9.883 MB / 0.573 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.211842818185687] Failed to read output from testmodel.py, exit status != 0: 7.859860999509692 7.870838865 7.433498828 Calling exit ...