Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.00146/0.00146, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001893/0.001893, allocations: 212.4 kB / 22.99 MB, free: 4.977 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.6/1.6, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 1.013/1.013, allocations: 149.9 MB / 463.1 MB, free: 10.33 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.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",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.002235/0.002235, allocations: 65.56 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2252, allocations: 89.17 MB / 0.7282 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.5301/0.7553, allocations: 50.42 MB / 0.7774 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.7708, allocations: 9.743 MB / 0.7869 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004004/0.7748, allocations: 95.66 kB / 0.787 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003529/0.7784, allocations: 0.9025 MB / 0.7879 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007798/0.7862, allocations: 2.077 MB / 0.7899 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006656/0.7928, allocations: 2.018 MB / 0.7919 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007657/0.8005, allocations: 3.808 MB / 0.7956 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/0.8027, allocations: 0.9776 MB / 0.7966 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005555/0.8082, allocations: 1.984 MB / 0.7985 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00314/0.8114, allocations: 1.203 MB / 0.7997 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006088/0.812, allocations: 103.8 kB / 0.7998 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0042/0.8162, allocations: 1.038 MB / 0.8008 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007533/0.8169, allocations: 400.6 kB / 0.8012 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.8186, allocations: 0.7089 MB / 0.8019 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005269/0.8238, allocations: 2.43 MB / 0.8043 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.8239, allocations: 1.5 kB / 0.8043 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.255e-06/0.8239, allocations: 0 / 0.8043 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.387e-05/0.8239, allocations: 0 / 0.8043 GB, free: 12.85 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004902/0.8288, allocations: 2.132 MB / 0.8063 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.8289, allocations: 10.31 kB / 0.8063 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/0.8291, allocations: 160.4 kB / 0.8065 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003833/0.8329, allocations: 0.6605 MB / 0.8071 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.8361, allocations: 1.087 MB / 0.8082 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.8362, allocations: 87.95 kB / 0.8083 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/0.8364, allocations: 106 kB / 0.8084 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003784/0.8402, allocations: 1.505 MB / 0.8099 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.8403, allocations: 6.094 kB / 0.8099 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.8404, allocations: 45.19 kB / 0.8099 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/0.8404, allocations: 29.66 kB / 0.8099 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003868/0.8443, allocations: 1.243 MB / 0.8112 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.8551, allocations: 6.586 MB / 0.8176 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/0.8587, allocations: 1.055 MB / 0.8186 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.8605, allocations: 0.5314 MB / 0.8191 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.8616, allocations: 291.1 kB / 0.8194 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002075/0.8637, allocations: 0.6829 MB / 0.8201 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 4.288e-06/0.8637, allocations: 1.312 kB / 0.8201 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.006045/0.8698, allocations: 1.829 MB / 0.8219 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.605e-05/0.8698, allocations: 64.69 kB / 0.8219 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.8725, allocations: 1.557 MB / 0.8234 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.8727, allocations: 47.34 kB / 0.8235 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008543/0.8735, allocations: 0.8058 MB / 0.8243 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/0.8739, allocations: 306.5 kB / 0.8246 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/0.8743, allocations: 223.2 kB / 0.8248 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.8745, allocations: 348.6 kB / 0.8251 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.8761, allocations: 0.5279 MB / 0.8256 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/0.8782, allocations: 1.138 MB / 0.8267 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003716/0.8819, allocations: 1.425 MB / 0.8281 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.882, allocations: 4.656 kB / 0.8281 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004502/0.8865, allocations: 1.628 MB / 0.8297 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.8865, allocations: 14.67 kB / 0.8297 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.8865, allocations: 11 kB / 0.8298 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/0.8865, allocations: 17.25 kB / 0.8298 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.888, allocations: 348.9 kB / 0.8301 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.301e-05/0.888, allocations: 26.61 kB / 0.8301 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.8901, allocations: 223.5 kB / 0.8303 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/0.8902, allocations: 67.58 kB / 0.8304 GB, free: 11.17 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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.000879/0.8911, allocations: 353 kB / 0.8307 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/0.8916, allocations: 183.1 kB / 0.8309 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/0.8968, allocations: 2.171 MB / 0.833 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.245e-05/0.8968, allocations: 25.61 kB / 0.8331 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.8968, allocations: 4 kB / 0.8331 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.8968, allocations: 7.969 kB / 0.8331 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007681/0.9045, allocations: 3.252 MB / 0.8362 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.9045, allocations: 4 kB / 0.8363 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.9057, allocations: 235.8 kB / 0.8365 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/0.9058, allocations: 8 kB / 0.8365 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.905e-05/0.9059, allocations: 43.95 kB / 0.8365 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/0.9059, allocations: 8 kB / 0.8365 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.9059, allocations: 0 / 0.8365 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007085/0.913, allocations: 2.834 MB / 0.8393 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009996/0.914, allocations: 330.2 kB / 0.8396 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.9142, allocations: 24 kB / 0.8396 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.9154, allocations: 115.9 kB / 0.8398 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.9156, allocations: 84.84 kB / 0.8398 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.9157, allocations: 59.89 kB / 0.8399 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001756/0.9175, allocations: 1.039 MB / 0.8409 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.9175, allocations: 0 / 0.8409 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002019/0.9195, allocations: 0.5574 MB / 0.8414 GB, free: 1.242 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 6 * 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.009969/0.9295, allocations: 4.124 MB / 0.8455 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004354/0.9338, allocations: 1.454 MB / 0.8469 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.9338, allocations: 0 / 0.8469 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002156/0.936, allocations: 0.7832 MB / 0.8477 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/0.94, allocations: 0.7413 MB / 0.8484 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02771/0.9677, allocations: 12.76 MB / 0.8608 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008574/0.9686, allocations: 0.7352 MB / 0.8616 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00159/0.9701, allocations: 372.8 kB / 0.8619 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/0.9713, allocations: 0.7139 MB / 0.8626 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of SimCode: time 1.784e-06/0.9713, allocations: 0 / 0.8626 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/1.084, allocations: 51.88 MB / 0.9133 GB, free: 8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.81, allocations: 11.94 kB / 0.9133 GB, free: 7.988 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.026537511963397] Failed to read output from testmodel.py, exit status != 0: 15.0044836984016 15.019564585 14.192076607 Calling exit ...