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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 114.5 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 195.7 kB / 20.08 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.888/0.888, allocations: 129.2 MB / 432.5 MB, free: 13.39 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.89 kB / 0.5987 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3968, allocations: 83.44 MB / 0.6802 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0632/0.46, allocations: 54.97 MB / 0.7339 GB, free: 6.863 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02195/0.482, allocations: 10.35 MB / 0.744 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.485, allocations: 67.56 kB / 0.7441 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003461/0.4885, allocations: 0.9203 MB / 0.745 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009095/0.4976, allocations: 2.006 MB / 0.7469 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.508, allocations: 2.109 MB / 0.749 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009909/0.5179, allocations: 3.761 MB / 0.7527 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/0.5209, allocations: 1.001 MB / 0.7536 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007668/0.5286, allocations: 1.918 MB / 0.7555 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003736/0.5323, allocations: 1.26 MB / 0.7567 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000495/0.5328, allocations: 104 kB / 0.7568 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00559/0.5384, allocations: 1.337 MB / 0.7581 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008993/0.5393, allocations: 390.3 kB / 0.7585 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002248/0.5416, allocations: 0.8624 MB / 0.7594 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008344/0.5499, allocations: 2.454 MB / 0.7618 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.5499, allocations: 4 kB / 0.7618 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5499, allocations: 0 / 0.7618 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.416e-05/0.55, allocations: 0 / 0.7618 GB, free: 10.22 MB / 0.5762 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.007386/0.5574, allocations: 2.189 MB / 0.7639 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.5575, allocations: 12.03 kB / 0.7639 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004004/0.5579, allocations: 164.8 kB / 0.7641 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007027/0.5649, allocations: 0.6543 MB / 0.7647 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004568/0.5695, allocations: 1.2 MB / 0.7659 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.5696, allocations: 82.14 kB / 0.766 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000434/0.5701, allocations: 108 kB / 0.7661 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006216/0.5763, allocations: 1.5 MB / 0.7675 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.558e-05/0.5763, allocations: 3.938 kB / 0.7675 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/0.5765, allocations: 47.94 kB / 0.7676 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/0.5766, allocations: 32 kB / 0.7676 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006601/0.5832, allocations: 1.225 MB / 0.7688 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.5962, allocations: 8.374 MB / 0.777 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003566/0.5997, allocations: 1.046 MB / 0.778 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.6014, allocations: 0.5335 MB / 0.7785 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002838/0.6042, allocations: 2.894 MB / 0.7813 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002015/0.6062, allocations: 0.6761 MB / 0.782 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 3.226e-06/0.6062, allocations: 0 / 0.782 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.005846/0.6121, allocations: 1.803 MB / 0.7838 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.6121, allocations: 60.41 kB / 0.7838 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/0.6147, allocations: 1.481 MB / 0.7853 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.6148, allocations: 45.7 kB / 0.7853 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008658/0.6157, allocations: 0.7959 MB / 0.7861 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004021/0.6161, allocations: 309.4 kB / 0.7864 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004094/0.6165, allocations: 226.8 kB / 0.7866 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.6167, allocations: 349.9 kB / 0.7869 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.6184, allocations: 0.5216 MB / 0.7874 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002035/0.6204, allocations: 0.8993 MB / 0.7883 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003608/0.624, allocations: 1.41 MB / 0.7897 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.624, allocations: 4 kB / 0.7897 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004667/0.6287, allocations: 1.609 MB / 0.7913 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.6287, allocations: 12 kB / 0.7913 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/0.6288, allocations: 12 kB / 0.7913 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.193e-05/0.6288, allocations: 24.73 kB / 0.7913 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.6303, allocations: 355.4 kB / 0.7917 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.353e-05/0.6303, allocations: 19.94 kB / 0.7917 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.6319, allocations: 226.9 kB / 0.7919 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.6321, allocations: 67.97 kB / 0.792 GB, free: 9.348 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.0007332/0.6328, allocations: 352.2 kB / 0.7923 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/0.6333, allocations: 178.9 kB / 0.7925 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00548/0.6387, allocations: 2.085 MB / 0.7945 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.251e-05/0.6388, allocations: 27.92 kB / 0.7945 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.6388, allocations: 0 / 0.7945 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.6388, allocations: 7.969 kB / 0.7945 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007699/0.6465, allocations: 3.29 MB / 0.7977 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.6465, allocations: 12.19 kB / 0.7978 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.6477, allocations: 235.6 kB / 0.798 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.662e-05/0.6477, allocations: 4 kB / 0.798 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.837e-05/0.6478, allocations: 31.97 kB / 0.798 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.6478, allocations: 8 kB / 0.798 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6478, allocations: 0 / 0.798 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006832/0.6547, allocations: 2.705 MB / 0.8007 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009387/0.6556, allocations: 395.4 kB / 0.801 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/0.656, allocations: 20 kB / 0.8011 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.6572, allocations: 123.9 kB / 0.8012 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.6574, allocations: 76.83 kB / 0.8013 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.6575, allocations: 51.95 kB / 0.8013 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001755/0.6593, allocations: 1.003 MB / 0.8023 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.6593, allocations: 4 kB / 0.8023 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001884/0.6612, allocations: 0.5496 MB / 0.8028 GB, free: 14.07 MB / 0.6231 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 (110): * Single equations (assignments): 79 * 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.009727/0.6709, allocations: 3.989 MB / 0.8067 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004457/0.6753, allocations: 1.416 MB / 0.8081 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.6754, allocations: 4 kB / 0.8081 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/0.6776, allocations: 0.7441 MB / 0.8088 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003915/0.6815, allocations: 0.7348 MB / 0.8096 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02881/0.7103, allocations: 12.57 MB / 0.8218 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.7117, allocations: 1.3 MB / 0.8231 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001632/0.7133, allocations: 376.9 kB / 0.8235 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/0.7145, allocations: 0.7023 MB / 0.8241 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of SimCode: time 1.483e-06/0.7145, allocations: 0 / 0.8241 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4638/1.178, allocations: 47.68 MB / 0.8707 GB, free: 167.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.54, allocations: 5.5 kB / 0.8707 GB, free: 167.8 MB / 0.67 GB " [Timeout remaining time 646] (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: 17.26706493506208] Failed to read output from testmodel.py, exit status != 0: 13.695955350063741 13.709130209 13.155691592 Calling exit ...