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.001363/0.001363, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001578/0.001578, allocations: 217.3 kB / 23.78 MB, free: 4.523 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.9582/0.9582, allocations: 150 MB / 464 MB, free: 10.21 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.001956/0.001956, allocations: 66.22 kB / 0.642 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1952, allocations: 89.17 MB / 0.7291 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6942/0.8894, allocations: 214.5 MB / 0.9385 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.9048, allocations: 8.037 MB / 0.9464 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002624/0.9074, allocations: 95.19 kB / 0.9465 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003346/0.9108, allocations: 1.052 MB / 0.9475 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.9214, allocations: 3.224 MB / 0.9507 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01088/0.9323, allocations: 3.506 MB / 0.9541 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008412/0.9407, allocations: 3.983 MB / 0.958 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/0.9435, allocations: 1.104 MB / 0.9591 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00592/0.9494, allocations: 2.324 MB / 0.9613 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/0.9525, allocations: 1.44 MB / 0.9627 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006681/0.9532, allocations: 128 kB / 0.9629 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007901/0.9611, allocations: 3.206 MB / 0.966 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.9624, allocations: 0.6228 MB / 0.9666 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002608/0.965, allocations: 0.8085 MB / 0.9674 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01088/0.9759, allocations: 3.729 MB / 0.971 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9759, allocations: 0 / 0.971 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9759, allocations: 0 / 0.971 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001233/0.976, allocations: 0 / 0.971 GB, free: 12.84 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.007752/0.9838, allocations: 2.65 MB / 0.9736 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.9838, allocations: 8.031 kB / 0.9736 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.137e-05/0.9839, allocations: 38.56 kB / 0.9737 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003662/0.9842, allocations: 194.4 kB / 0.9738 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007654/0.9919, allocations: 1.091 MB / 0.9749 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003293/0.9952, allocations: 1.154 MB / 0.976 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.9953, allocations: 102.5 kB / 0.9761 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004139/0.9957, allocations: 132 kB / 0.9763 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004915/1.001, allocations: 1.98 MB / 0.9782 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/1.001, allocations: 7.938 kB / 0.9782 GB, free: 5.23 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/1.001, allocations: 59.98 kB / 0.9783 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.058e-05/1.001, allocations: 58.3 kB / 0.9783 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005129/1.006, allocations: 1.89 MB / 0.9802 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/1.019, allocations: 7.195 MB / 0.9872 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004568/1.024, allocations: 1.55 MB / 0.9887 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/1.026, allocations: 0.757 MB / 0.9894 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007522/1.027, allocations: 136.9 kB / 0.9896 GB, free: 9.336 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002292/1.029, allocations: 0.8598 MB / 0.9904 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=104): time 4.118e-06/1.029, allocations: 0 / 0.9904 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of matching and sorting (n=104): time 0.006922/1.036, allocations: 2.357 MB / 0.9927 GB, free: 6.098 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/1.036, allocations: 64.41 kB / 0.9928 GB, free: 6.023 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/1.039, allocations: 1.721 MB / 0.9944 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001521/1.039, allocations: 49.7 kB / 0.9945 GB, free: 4.199 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008734/1.04, allocations: 0.8557 MB / 0.9953 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004504/1.041, allocations: 388.7 kB / 0.9957 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000487/1.041, allocations: 238.8 kB / 0.9959 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.041, allocations: 353.9 kB / 0.9963 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/1.043, allocations: 0.67 MB / 0.9969 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002346/1.046, allocations: 1.284 MB / 0.9982 GB, free: 196 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004085/1.05, allocations: 1.727 MB / 0.9999 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/1.05, allocations: 4 kB / 0.9999 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005229/1.055, allocations: 1.933 MB / 1.002 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/1.055, allocations: 12 kB / 1.002 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/1.055, allocations: 8 kB / 1.002 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.944e-05/1.055, allocations: 20 kB / 1.002 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/1.057, allocations: 368.5 kB / 1.002 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.801e-05/1.057, allocations: 34.66 kB / 1.002 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/1.059, allocations: 242.7 kB / 1.002 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/1.059, allocations: 67.97 kB / 1.002 GB, free: 11.63 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.001042/1.06, allocations: 409.8 kB / 1.003 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/1.061, allocations: 198.7 kB / 1.003 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004959/1.066, allocations: 1.832 MB / 1.005 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/1.066, allocations: 12 kB / 1.005 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.066, allocations: 0 / 1.005 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/1.066, allocations: 7.922 kB / 1.005 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008632/1.075, allocations: 3.804 MB / 1.009 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.075, allocations: 8 kB / 1.009 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/1.076, allocations: 271.8 kB / 1.009 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-05/1.076, allocations: 12 kB / 1.009 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/1.076, allocations: 39.97 kB / 1.009 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.736e-05/1.076, allocations: 19.94 kB / 1.009 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/1.076, allocations: 11.94 kB / 1.009 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006885/1.083, allocations: 2.936 MB / 1.012 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008935/1.084, allocations: 326.3 kB / 1.012 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004362/1.085, allocations: 31.98 kB / 1.012 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/1.086, allocations: 123.9 kB / 1.012 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/1.086, allocations: 88.41 kB / 1.012 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.086, allocations: 47.97 kB / 1.012 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001965/1.088, allocations: 1.179 MB / 1.014 GB, free: 24 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/1.088, allocations: 0 / 1.014 GB, free: 24 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001639/1.09, allocations: 475.4 kB / 1.014 GB, free: 15.56 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.009283/1.099, allocations: 3.989 MB / 1.018 GB, free: 11.67 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004455/1.104, allocations: 1.593 MB / 1.019 GB, free: 10.08 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/1.104, allocations: 4 kB / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002156/1.106, allocations: 0.7899 MB / 1.02 GB, free: 9.285 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004943/1.111, allocations: 0.9191 MB / 1.021 GB, free: 8.387 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03558/1.146, allocations: 15.1 MB / 1.036 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.148, allocations: 0.7989 MB / 1.037 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002042/1.15, allocations: 454.5 kB / 1.037 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/1.151, allocations: 0.7179 MB / 1.038 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of SimCode: time 9.81e-07/1.151, allocations: 0 / 1.038 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/1.257, allocations: 53.69 MB / 1.09 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/17.55, allocations: 2.5 kB / 1.09 GB, free: 1.684 MB / 0.8575 GB " [Timeout remaining time 642] (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: 22.07343657896854] Failed to read output from testmodel.py, exit status != 0: 17.801027512992732 18.232938588 17.253015937 Calling exit ...