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.00132/0.00132, 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.001425/0.001425, allocations: 215 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.516/1.516, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.9681/0.9681, allocations: 150 MB / 464 MB, free: 10.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001974/0.001974, allocations: 69.73 kB / 0.6421 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1976, allocations: 89.16 MB / 0.7291 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.7456/0.9432, allocations: 246.4 MB / 0.9698 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01613/0.9593, allocations: 8.571 MB / 0.9782 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002735/0.962, allocations: 99.06 kB / 0.9783 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.9653, allocations: 1.08 MB / 0.9793 GB, free: 6.934 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009231/0.9746, allocations: 3.267 MB / 0.9825 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009222/0.9838, allocations: 3.594 MB / 0.986 GB, free: 52 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006833/0.9906, allocations: 3.999 MB / 0.9899 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.993, allocations: 1.096 MB / 0.991 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005722/0.9987, allocations: 2.316 MB / 0.9933 GB, free: 8.582 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003031/1.002, allocations: 1.444 MB / 0.9947 GB, free: 7.133 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004143/1.002, allocations: 128 kB / 0.9948 GB, free: 7.008 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009207/1.011, allocations: 4.263 MB / 0.999 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001321/1.013, allocations: 0.6112 MB / 0.9996 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001895/1.015, allocations: 0.9869 MB / 1.001 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01157/1.026, allocations: 3.87 MB / 1.004 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/1.026, allocations: 0 / 1.004 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/1.026, allocations: 0 / 1.004 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.176e-05/1.026, allocations: 7.938 kB / 1.004 GB, free: 13.24 MB / 0.7794 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.007813/1.034, allocations: 2.654 MB / 1.007 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/1.034, allocations: 12.03 kB / 1.007 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.703e-05/1.034, allocations: 34.56 kB / 1.007 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002671/1.034, allocations: 190.4 kB / 1.007 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007152/1.042, allocations: 1.095 MB / 1.008 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/1.045, allocations: 1.18 MB / 1.009 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/1.045, allocations: 102.5 kB / 1.009 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/1.045, allocations: 132 kB / 1.01 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005286/1.051, allocations: 1.976 MB / 1.011 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.431e-05/1.051, allocations: 4 kB / 1.012 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/1.051, allocations: 51.98 kB / 1.012 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/1.051, allocations: 74.23 kB / 1.012 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005724/1.057, allocations: 1.87 MB / 1.013 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/1.071, allocations: 9.094 MB / 1.022 GB, free: 9.883 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004596/1.075, allocations: 1.54 MB / 1.024 GB, free: 8.336 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/1.077, allocations: 0.7453 MB / 1.025 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007639/1.078, allocations: 145.5 kB / 1.025 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00239/1.081, allocations: 0.8637 MB / 1.026 GB, free: 6.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=104): time 3.557e-06/1.081, allocations: 0 / 1.026 GB, free: 6.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=104): time 0.00699/1.088, allocations: 2.322 MB / 1.028 GB, free: 4.238 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/1.088, allocations: 60.41 kB / 1.028 GB, free: 4.168 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002934/1.091, allocations: 1.705 MB / 1.03 GB, free: 2.414 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001791/1.091, allocations: 49.69 kB / 1.03 GB, free: 2.359 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008949/1.092, allocations: 0.8519 MB / 1.03 GB, free: 1.5 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005168/1.092, allocations: 384.8 kB / 1.031 GB, free: 1.121 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004986/1.093, allocations: 234.8 kB / 1.031 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.093, allocations: 353.9 kB / 1.031 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/1.095, allocations: 0.666 MB / 1.032 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/1.097, allocations: 1.055 MB / 1.033 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004247/1.101, allocations: 1.704 MB / 1.035 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/1.101, allocations: 4 kB / 1.035 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005357/1.107, allocations: 1.929 MB / 1.037 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/1.107, allocations: 16.23 kB / 1.037 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/1.107, allocations: 12 kB / 1.037 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.855e-05/1.107, allocations: 23.61 kB / 1.037 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/1.109, allocations: 367.4 kB / 1.037 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.333e-05/1.109, allocations: 19.94 kB / 1.037 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/1.111, allocations: 254.6 kB / 1.037 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/1.111, allocations: 63.97 kB / 1.037 GB, free: 10.12 MB / 0.8106 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.001007/1.112, allocations: 406.7 kB / 1.038 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005506/1.113, allocations: 202.7 kB / 1.038 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005186/1.118, allocations: 1.807 MB / 1.04 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/1.118, allocations: 12 kB / 1.04 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.118, allocations: 0 / 1.04 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/1.118, allocations: 7.922 kB / 1.04 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00927/1.127, allocations: 3.94 MB / 1.044 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/1.127, allocations: 8 kB / 1.044 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/1.129, allocations: 272.2 kB / 1.044 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.863e-05/1.129, allocations: 12 kB / 1.044 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/1.129, allocations: 35.97 kB / 1.044 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.146e-05/1.129, allocations: 15.94 kB / 1.044 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/1.129, allocations: 15.92 kB / 1.044 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007305/1.136, allocations: 2.9 MB / 1.047 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/1.137, allocations: 310.4 kB / 1.047 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005008/1.138, allocations: 35.98 kB / 1.047 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/1.14, allocations: 119.9 kB / 1.047 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/1.14, allocations: 92.34 kB / 1.047 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.14, allocations: 47.97 kB / 1.047 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002242/1.142, allocations: 1.159 MB / 1.048 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/1.142, allocations: 0 / 1.048 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001923/1.144, allocations: 467.5 kB / 1.049 GB, free: 14.01 MB / 0.8262 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 (107): * Single equations (assignments): 101 * 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.009494/1.154, allocations: 3.915 MB / 1.053 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004615/1.158, allocations: 1.581 MB / 1.054 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.158, allocations: 0 / 1.054 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002193/1.16, allocations: 0.7781 MB / 1.055 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004896/1.165, allocations: 0.9265 MB / 1.056 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/1.202, allocations: 15.03 MB / 1.071 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/1.203, allocations: 1.381 MB / 1.072 GB, free: 5.773 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002175/1.205, allocations: 458.8 kB / 1.072 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.207, allocations: 0.7258 MB / 1.073 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of SimCode: time 1.683e-06/1.207, allocations: 0 / 1.073 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4923/1.699, allocations: 50.37 MB / 1.122 GB, free: 281.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.18/24.88, allocations: 11.7 kB / 1.122 GB, free: 281.2 MB / 0.8419 GB " [Timeout remaining time 635] (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: 29.082554311025888] Failed to read output from testmodel.py, exit status != 0: 25.129727374005597 25.150701371 24.120241069 Calling exit ...