Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.00148/0.00148, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001548/0.001548, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.435/1.435, 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.8495/0.8495, allocations: 129.2 MB / 432.5 MB, free: 13.16 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_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 0.5987 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4175, allocations: 83.44 MB / 0.6802 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.7375/1.155, allocations: 242.6 MB / 0.9172 GB, free: 1.41 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01455/1.17, allocations: 8.431 MB / 0.9254 GB, free: 1.246 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/1.172, allocations: 65.09 kB / 0.9254 GB, free: 1.246 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002852/1.175, allocations: 1.07 MB / 0.9265 GB, free: 1.23 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007692/1.183, allocations: 3.185 MB / 0.9296 GB, free: 1.113 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008491/1.192, allocations: 3.598 MB / 0.9331 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005514/1.197, allocations: 3.916 MB / 0.9369 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/1.199, allocations: 1.155 MB / 0.9381 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005447/1.205, allocations: 2.267 MB / 0.9403 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/1.208, allocations: 1.433 MB / 0.9417 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005347/1.208, allocations: 127.2 kB / 0.9418 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008541/1.217, allocations: 4.169 MB / 0.9459 GB, free: 0.5195 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001433/1.218, allocations: 0.6106 MB / 0.9465 GB, free: 428 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002243/1.22, allocations: 0.9789 MB / 0.9474 GB, free: 112 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01293/1.233, allocations: 3.855 MB / 0.9512 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/1.233, allocations: 0.8438 kB / 0.9512 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.003e-06/1.233, allocations: 0 / 0.9512 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.43e-05/1.233, allocations: 0 / 0.9512 GB, free: 15.27 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.008273/1.242, allocations: 2.717 MB / 0.9538 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.242, allocations: 8.688 kB / 0.9539 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003127/1.242, allocations: 191.3 kB / 0.954 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007371/1.249, allocations: 1.102 MB / 0.9551 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003351/1.253, allocations: 1.268 MB / 0.9564 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/1.253, allocations: 98.38 kB / 0.9564 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/1.253, allocations: 126.9 kB / 0.9566 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004699/1.258, allocations: 1.979 MB / 0.9585 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/1.258, allocations: 7.625 kB / 0.9585 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/1.258, allocations: 53.97 kB / 0.9586 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.523e-05/1.258, allocations: 62.86 kB / 0.9586 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005085/1.263, allocations: 1.868 MB / 0.9604 GB, free: 9.77 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/1.277, allocations: 9.173 MB / 0.9694 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004331/1.282, allocations: 1.537 MB / 0.9709 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002001/1.284, allocations: 0.7498 MB / 0.9716 GB, free: 252 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/1.285, allocations: 0.5975 MB / 0.9722 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002336/1.287, allocations: 0.8607 MB / 0.9731 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=104): time 3.807e-06/1.287, allocations: 0 / 0.9731 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of matching and sorting (n=104): time 0.007068/1.294, allocations: 2.326 MB / 0.9753 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/1.294, allocations: 64.41 kB / 0.9754 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/1.297, allocations: 1.673 MB / 0.977 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002523/1.297, allocations: 45.7 kB / 0.9771 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000881/1.298, allocations: 0.8466 MB / 0.9779 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005287/1.299, allocations: 377.9 kB / 0.9783 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004456/1.299, allocations: 234.8 kB / 0.9785 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.299, allocations: 353.9 kB / 0.9788 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001958/1.301, allocations: 0.6661 MB / 0.9795 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/1.304, allocations: 1.056 MB / 0.9805 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004285/1.308, allocations: 1.707 MB / 0.9822 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/1.308, allocations: 4 kB / 0.9822 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00562/1.314, allocations: 1.917 MB / 0.984 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/1.314, allocations: 8 kB / 0.984 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/1.314, allocations: 20.83 kB / 0.9841 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.255e-05/1.314, allocations: 19.94 kB / 0.9841 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/1.316, allocations: 364.1 kB / 0.9844 GB, free: 2.816 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.008e-05/1.316, allocations: 21.16 kB / 0.9845 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/1.318, allocations: 258.7 kB / 0.9847 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/1.318, allocations: 63.97 kB / 0.9848 GB, free: 2.484 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.0009796/1.319, allocations: 405.6 kB / 0.9851 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000501/1.319, allocations: 194.7 kB / 0.9853 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/1.324, allocations: 1.79 MB / 0.9871 GB, free: 112 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/1.324, allocations: 8 kB / 0.9871 GB, free: 104 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.324, allocations: 0 / 0.9871 GB, free: 104 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.324, allocations: 3.984 kB / 0.9871 GB, free: 100 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00888/1.333, allocations: 3.944 MB / 0.9909 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/1.333, allocations: 8 kB / 0.991 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/1.334, allocations: 254.2 kB / 0.9912 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.148e-05/1.335, allocations: 12 kB / 0.9912 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.335, allocations: 39.97 kB / 0.9912 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.856e-05/1.335, allocations: 25.05 kB / 0.9913 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.335, allocations: 6.625 kB / 0.9913 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007036/1.342, allocations: 2.877 MB / 0.9941 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.343, allocations: 383.5 kB / 0.9945 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/1.343, allocations: 34.52 kB / 0.9945 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.345, allocations: 119.9 kB / 0.9946 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/1.345, allocations: 89.59 kB / 0.9947 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.345, allocations: 48.06 kB / 0.9947 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001934/1.347, allocations: 1.139 MB / 0.9958 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.347, allocations: 0 / 0.9958 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001991/1.349, allocations: 463.5 kB / 0.9963 GB, free: 6.531 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (104): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.009473/1.359, allocations: 3.912 MB / 1 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004923/1.364, allocations: 1.569 MB / 1.002 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.364, allocations: 4 kB / 1.002 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002354/1.366, allocations: 0.7718 MB / 1.002 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005825/1.372, allocations: 0.9303 MB / 1.003 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03946/1.411, allocations: 14.93 MB / 1.018 GB, free: 20 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/1.413, allocations: 1.371 MB / 1.019 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002348/1.415, allocations: 458.6 kB / 1.02 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.416, allocations: 0.7101 MB / 1.02 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of SimCode: time 9.22e-07/1.416, allocations: 0 / 1.02 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/1.527, allocations: 49.11 MB / 1.068 GB, free: 13 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.71, allocations: 13.89 kB / 1.068 GB, free: 12.98 MB / 0.795 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.278277670033276] Failed to read output from testmodel.py, exit status != 0: 13.869666381273419 13.89106259 12.653353268 Calling exit ...