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.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.00157/0.00157, 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.001622/0.001622, allocations: 209 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.536/1.536, 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 0.9769/0.9769, allocations: 149.9 MB / 463 MB, free: 10.32 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_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: 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.002123/0.002123, allocations: 61.94 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2101, allocations: 89.18 MB / 0.7282 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6881/0.8982, allocations: 214.7 MB / 0.9378 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.9134, allocations: 8.04 MB / 0.9457 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/0.9162, allocations: 95.12 kB / 0.9458 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.9192, allocations: 1.052 MB / 0.9468 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.9292, allocations: 3.232 MB / 0.95 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01055/0.9398, allocations: 3.478 MB / 0.9534 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007869/0.9476, allocations: 3.975 MB / 0.9572 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.9502, allocations: 1.077 MB / 0.9583 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006252/0.9565, allocations: 2.324 MB / 0.9606 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/0.9597, allocations: 1.369 MB / 0.9619 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003798/0.96, allocations: 128 kB / 0.962 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008533/0.9686, allocations: 3.175 MB / 0.9651 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.9696, allocations: 0.615 MB / 0.9657 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.9713, allocations: 0.8124 MB / 0.9665 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.9816, allocations: 3.725 MB / 0.9702 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.9816, allocations: 0 / 0.9702 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.444e-06/0.9816, allocations: 0 / 0.9702 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.556e-05/0.9816, allocations: 0 / 0.9702 GB, free: 13.07 MB / 0.7481 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.006509/0.9882, allocations: 2.654 MB / 0.9728 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.9882, allocations: 8.031 kB / 0.9728 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002602/0.9885, allocations: 202.4 kB / 0.973 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007003/0.9955, allocations: 1.087 MB / 0.974 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.9983, allocations: 1.15 MB / 0.9751 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.9984, allocations: 98.56 kB / 0.9752 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.9986, allocations: 139.9 kB / 0.9754 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004599/1.003, allocations: 1.984 MB / 0.9773 GB, free: 5.5 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/1.003, allocations: 7.922 kB / 0.9773 GB, free: 5.492 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/1.003, allocations: 52 kB / 0.9774 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-05/1.004, allocations: 62.3 kB / 0.9774 GB, free: 5.379 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005273/1.009, allocations: 1.882 MB / 0.9793 GB, free: 3.488 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/1.022, allocations: 7.2 MB / 0.9863 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004696/1.027, allocations: 1.545 MB / 0.9878 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/1.029, allocations: 0.761 MB / 0.9885 GB, free: 9.738 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007233/1.03, allocations: 132.9 kB / 0.9887 GB, free: 9.609 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00231/1.032, allocations: 0.865 MB / 0.9895 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 4.618e-06/1.032, allocations: 0 / 0.9895 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of matching and sorting (n=104): time 0.007197/1.039, allocations: 2.35 MB / 0.9918 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/1.04, allocations: 64.41 kB / 0.9919 GB, free: 6.301 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/1.042, allocations: 1.74 MB / 0.9936 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/1.042, allocations: 49.7 kB / 0.9936 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009643/1.043, allocations: 0.8558 MB / 0.9945 GB, free: 3.594 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004531/1.044, allocations: 372.8 kB / 0.9948 GB, free: 3.227 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004277/1.044, allocations: 238.8 kB / 0.995 GB, free: 2.988 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002126/1.045, allocations: 357.9 kB / 0.9954 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/1.046, allocations: 0.6661 MB / 0.996 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/1.049, allocations: 1.292 MB / 0.9973 GB, free: 468 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004541/1.054, allocations: 1.719 MB / 0.999 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/1.054, allocations: 8 kB / 0.999 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005473/1.059, allocations: 1.941 MB / 1.001 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/1.059, allocations: 9.719 kB / 1.001 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/1.059, allocations: 16.09 kB / 1.001 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.164e-05/1.059, allocations: 16 kB / 1.001 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/1.061, allocations: 367.4 kB / 1.001 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.715e-05/1.061, allocations: 27.86 kB / 1.001 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/1.063, allocations: 255.1 kB / 1.002 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/1.063, allocations: 59.97 kB / 1.002 GB, free: 11.89 MB / 0.7794 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.000827/1.064, allocations: 412.8 kB / 1.002 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/1.064, allocations: 202.7 kB / 1.002 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/1.069, allocations: 1.834 MB / 1.004 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/1.069, allocations: 12 kB / 1.004 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/1.069, allocations: 0 / 1.004 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/1.069, allocations: 7.922 kB / 1.004 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008868/1.078, allocations: 3.8 MB / 1.008 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.078, allocations: 8 kB / 1.008 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.08, allocations: 279.6 kB / 1.008 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.92e-05/1.08, allocations: 12 kB / 1.008 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/1.08, allocations: 35.97 kB / 1.008 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-05/1.08, allocations: 9.125 kB / 1.008 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/1.08, allocations: 11.94 kB / 1.008 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00731/1.087, allocations: 2.948 MB / 1.011 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.088, allocations: 326.4 kB / 1.011 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002859/1.089, allocations: 27.98 kB / 1.011 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.09, allocations: 123.9 kB / 1.011 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/1.09, allocations: 84.41 kB / 1.011 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.09, allocations: 51.97 kB / 1.012 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001968/1.092, allocations: 1.175 MB / 1.013 GB, free: 288 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/1.092, allocations: 4 kB / 1.013 GB, free: 284 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001807/1.094, allocations: 475.4 kB / 1.013 GB, free: 15.81 MB / 0.795 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 (110): * Single equations (assignments): 104 * 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.009298/1.104, allocations: 3.992 MB / 1.017 GB, free: 11.93 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004572/1.108, allocations: 1.597 MB / 1.019 GB, free: 10.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.108, allocations: 0 / 1.019 GB, free: 10.34 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002195/1.11, allocations: 0.7859 MB / 1.019 GB, free: 9.551 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004488/1.115, allocations: 0.9303 MB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03248/1.147, allocations: 15.08 MB / 1.035 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008975/1.148, allocations: 0.7989 MB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001823/1.15, allocations: 454.5 kB / 1.036 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.151, allocations: 0.714 MB / 1.037 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of SimCode: time 9.41e-07/1.151, allocations: 0 / 1.037 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/1.254, allocations: 54.01 MB / 1.09 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/15.09, allocations: 4.062 kB / 1.09 GB, free: 1.598 MB / 0.8575 GB " [Timeout remaining time 644] (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: 19.653340440709144] Failed to read output from testmodel.py, exit status != 0: 15.63559911493212 15.64864454 14.663709803 Calling exit ...