Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.00137/0.00137, allocations: 105 kB / 20.48 MB, free: 1.488 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.001394/0.001394, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.393/1.393, allocations: 230.6 MB / 257.6 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.9664/0.9664, allocations: 150 MB / 464 MB, free: 10.55 MB / 366.1 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.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001966/0.001966, allocations: 61.41 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1973, allocations: 89.17 MB / 0.7291 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5981/0.7954, allocations: 183.2 MB / 0.9081 GB, free: 132 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.8061, allocations: 7.936 MB / 0.9158 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007548/0.8069, allocations: 31.75 kB / 0.9158 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008072/0.8077, allocations: 246.2 kB / 0.9161 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003664/0.8113, allocations: 1.284 MB / 0.9173 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.8135, allocations: 0.7635 MB / 0.9181 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001663/0.8151, allocations: 1.087 MB / 0.9191 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.8158, allocations: 341.5 kB / 0.9195 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.819, allocations: 1.029 MB / 0.9205 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008685/0.8198, allocations: 442.5 kB / 0.9209 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.8199, allocations: 40 kB / 0.9209 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.822, allocations: 1.009 MB / 0.9219 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.8222, allocations: 167.5 kB / 0.9221 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.8226, allocations: 246.8 kB / 0.9223 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.8245, allocations: 0.9366 MB / 0.9232 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.8245, allocations: 3.938 kB / 0.9232 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8245, allocations: 3.938 kB / 0.9232 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.172e-05/0.8246, allocations: 3.938 kB / 0.9232 GB, free: 0.5625 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001448/0.826, allocations: 0.742 MB / 0.924 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.8261, allocations: 8.031 kB / 0.924 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.898e-05/0.8261, allocations: 13.5 kB / 0.924 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.566e-05/0.8262, allocations: 74.53 kB / 0.9241 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.8272, allocations: 159.5 kB / 0.9242 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/0.8279, allocations: 340.4 kB / 0.9245 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.8279, allocations: 31.69 kB / 0.9246 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.828, allocations: 39.98 kB / 0.9246 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007909/0.8288, allocations: 454.3 kB / 0.925 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.8288, allocations: 0 / 0.925 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.8288, allocations: 16 kB / 0.925 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.8288, allocations: 8 kB / 0.9251 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006607/0.8295, allocations: 323.7 kB / 0.9254 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.8319, allocations: 1.965 MB / 0.9273 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.8324, allocations: 226.4 kB / 0.9275 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.8326, allocations: 145.6 kB / 0.9276 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00048/0.8331, allocations: 72.33 kB / 0.9277 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.8331, allocations: 30.56 kB / 0.9277 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.8331, allocations: 4 kB / 0.9277 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24): time 0.00113/0.8343, allocations: 468 kB / 0.9282 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.8343, allocations: 55.41 kB / 0.9282 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/0.8348, allocations: 398 kB / 0.9286 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.8348, allocations: 33.7 kB / 0.9287 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.835, allocations: 228.6 kB / 0.9289 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.8351, allocations: 95.2 kB / 0.929 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.8352, allocations: 53.7 kB / 0.929 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.8354, allocations: 350.7 kB / 0.9293 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.8356, allocations: 111.9 kB / 0.9295 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.836, allocations: 186.8 kB / 0.9296 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.8365, allocations: 302.6 kB / 0.9299 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.8365, allocations: 0 / 0.9299 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007297/0.8372, allocations: 367.8 kB / 0.9303 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.8373, allocations: 14.5 kB / 0.9303 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8373, allocations: 0 / 0.9303 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.8373, allocations: 4 kB / 0.9303 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.8376, allocations: 59.91 kB / 0.9303 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.8376, allocations: 7.984 kB / 0.9304 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.8379, allocations: 39.67 kB / 0.9304 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.8379, allocations: 16.86 kB / 0.9304 GB, free: 8.836 MB / 0.7012 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 (31): * Single equations (assignments): 31 * 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.0001979/0.8381, allocations: 173.6 kB / 0.9306 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.8382, allocations: 39.72 kB / 0.9306 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007597/0.8389, allocations: 368.1 kB / 0.931 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.8389, allocations: 4 kB / 0.931 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8389, allocations: 0 / 0.931 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.8389, allocations: 3.938 kB / 0.931 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.8405, allocations: 0.9166 MB / 0.9319 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.8405, allocations: 0 / 0.9319 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.8407, allocations: 48.12 kB / 0.9319 GB, free: 7.215 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.8407, allocations: 8 kB / 0.9319 GB, free: 7.207 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.8408, allocations: 8 kB / 0.9319 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.8408, allocations: 4 kB / 0.9319 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8408, allocations: 0 / 0.9319 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009858/0.8418, allocations: 0.6365 MB / 0.9326 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.8419, allocations: 71.64 kB / 0.9326 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.842, allocations: 8 kB / 0.9326 GB, free: 6.449 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.8422, allocations: 20.05 kB / 0.9326 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.8423, allocations: 19.97 kB / 0.9327 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.8423, allocations: 11.94 kB / 0.9327 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003196/0.8426, allocations: 283.1 kB / 0.9329 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.8426, allocations: 0 / 0.9329 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004808/0.8431, allocations: 115.8 kB / 0.9331 GB, free: 6.008 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.00149/0.8446, allocations: 1.23 MB / 0.9343 GB, free: 4.734 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0006041/0.8452, allocations: 271.6 kB / 0.9345 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8452, allocations: 448 / 0.9345 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.8455, allocations: 151.8 kB / 0.9347 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.8466, allocations: 221 kB / 0.9349 GB, free: 4.121 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005528/0.8521, allocations: 3.796 MB / 0.9386 GB, free: 168 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.8526, allocations: 0.8272 MB / 0.9394 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003318/0.853, allocations: 105 kB / 0.9395 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.8532, allocations: 135.4 kB / 0.9396 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of SimCode: time 8.61e-07/0.8532, allocations: 0 / 0.9396 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04024/0.8934, allocations: 12 MB / 0.9513 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/12.1, allocations: 4.062 kB / 0.9513 GB, free: 3.355 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.887066227965988] Failed to read output from testmodel.py, exit status != 0: 12.263409081962891 12.277875333 11.450224917 Calling exit ...