Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.001306/0.001306, 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.00147/0.00147, allocations: 216.5 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 1.071/1.071, allocations: 149.9 MB / 463 MB, free: 10.3 MB / 366.1 MB " [Timeout remaining time 178] 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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.002167/0.002167, allocations: 67.64 kB / 0.6411 GB, free: 10.06 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2173, allocations: 89.18 MB / 0.7282 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7818/0.9991, allocations: 214.7 MB / 0.9378 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01741/1.016, allocations: 8.055 MB / 0.9457 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/1.019, allocations: 95.12 kB / 0.9458 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003244/1.022, allocations: 1.049 MB / 0.9468 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009639/1.032, allocations: 3.216 MB / 0.95 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01103/1.043, allocations: 3.501 MB / 0.9534 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007677/1.051, allocations: 4.042 MB / 0.9573 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002633/1.053, allocations: 1.114 MB / 0.9584 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006048/1.059, allocations: 2.344 MB / 0.9607 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/1.062, allocations: 1.404 MB / 0.9621 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003781/1.062, allocations: 136 kB / 0.9622 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007417/1.07, allocations: 3.187 MB / 0.9653 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001195/1.071, allocations: 0.6306 MB / 0.9659 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001629/1.073, allocations: 0.8319 MB / 0.9667 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00949/1.082, allocations: 3.78 MB / 0.9704 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/1.082, allocations: 0 / 0.9704 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.843e-06/1.082, allocations: 0 / 0.9704 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.966e-05/1.082, allocations: 0 / 0.9704 GB, free: 12.79 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.007436/1.09, allocations: 2.689 MB / 0.9731 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.09, allocations: 8.031 kB / 0.9731 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002782/1.09, allocations: 199.2 kB / 0.9733 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008976/1.099, allocations: 1.337 MB / 0.9746 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00384/1.103, allocations: 1.166 MB / 0.9757 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/1.103, allocations: 106.6 kB / 0.9758 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005835/1.104, allocations: 139.9 kB / 0.9759 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006162/1.11, allocations: 2.082 MB / 0.978 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/1.11, allocations: 0 / 0.978 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/1.11, allocations: 56.69 kB / 0.978 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/1.11, allocations: 70.41 kB / 0.9781 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006666/1.117, allocations: 2.191 MB / 0.9802 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01524/1.132, allocations: 6.478 MB / 0.9866 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005743/1.138, allocations: 1.809 MB / 0.9883 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002969/1.141, allocations: 0.9327 MB / 0.9892 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/1.142, allocations: 200.8 kB / 0.9894 GB, free: 8.926 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003278/1.145, allocations: 1.075 MB / 0.9905 GB, free: 7.84 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=119): time 4.97e-06/1.145, allocations: 0 / 0.9905 GB, free: 7.84 MB / 0.7637 GB Notification: Performance of matching and sorting (n=119): time 0.009972/1.155, allocations: 2.904 MB / 0.9933 GB, free: 4.926 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/1.155, allocations: 68.41 kB / 0.9934 GB, free: 4.848 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/1.158, allocations: 1.691 MB / 0.995 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003044/1.158, allocations: 49.7 kB / 0.9951 GB, free: 3.102 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008999/1.159, allocations: 0.8133 MB / 0.9959 GB, free: 2.281 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006981/1.16, allocations: 436.2 kB / 0.9963 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004854/1.16, allocations: 246.8 kB / 0.9965 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002163/1.161, allocations: 353.9 kB / 0.9969 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002665/1.163, allocations: 0.8261 MB / 0.9977 GB, free: 436 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003395/1.167, allocations: 1.376 MB / 0.999 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005826/1.172, allocations: 1.934 MB / 1.001 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/1.172, allocations: 7.938 kB / 1.001 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006626/1.179, allocations: 2.21 MB / 1.003 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/1.179, allocations: 8.938 kB / 1.003 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/1.179, allocations: 8 kB / 1.003 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/1.179, allocations: 20 kB / 1.003 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/1.181, allocations: 407.4 kB / 1.003 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/1.181, allocations: 21.36 kB / 1.004 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/1.184, allocations: 282.7 kB / 1.004 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/1.184, allocations: 67.97 kB / 1.004 GB, free: 9.812 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0008856/1.185, allocations: 391.4 kB / 1.004 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/1.185, allocations: 206.6 kB / 1.004 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006497/1.192, allocations: 2.227 MB / 1.007 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/1.192, allocations: 12 kB / 1.007 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.192, allocations: 0 / 1.007 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/1.192, allocations: 7.969 kB / 1.007 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/1.203, allocations: 4.299 MB / 1.011 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.203, allocations: 4 kB / 1.011 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/1.205, allocations: 340.1 kB / 1.011 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-05/1.205, allocations: 12 kB / 1.011 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/1.205, allocations: 47.97 kB / 1.011 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-05/1.205, allocations: 23.55 kB / 1.011 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.205, allocations: 4 kB / 1.011 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009482/1.215, allocations: 3.52 MB / 1.015 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.216, allocations: 342.3 kB / 1.015 GB, free: 14.15 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003453/1.216, allocations: 31.98 kB / 1.015 GB, free: 14.12 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.218, allocations: 175.7 kB / 1.015 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/1.218, allocations: 104.6 kB / 1.015 GB, free: 13.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.218, allocations: 55.97 kB / 1.015 GB, free: 13.79 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001871/1.22, allocations: 1.154 MB / 1.016 GB, free: 12.64 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.22, allocations: 0 / 1.016 GB, free: 12.64 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001608/1.222, allocations: 0.4916 MB / 1.017 GB, free: 12.15 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (125): * Single equations (assignments): 119 * 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.01149/1.233, allocations: 4.557 MB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006026/1.239, allocations: 1.919 MB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/1.239, allocations: 4 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003014/1.242, allocations: 0.9753 MB / 1.024 GB, free: 4.801 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004725/1.247, allocations: 0.9607 MB / 1.025 GB, free: 3.867 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04021/1.287, allocations: 16.15 MB / 1.041 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.288, allocations: 0.8117 MB / 1.042 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002268/1.291, allocations: 482.6 kB / 1.042 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/1.292, allocations: 0.7336 MB / 1.043 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of SimCode: time 1.302e-06/1.292, allocations: 0 / 1.043 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5294/1.822, allocations: 55.92 MB / 1.098 GB, free: 313 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/15.87, allocations: 3.188 kB / 1.098 GB, free: 313 MB / 0.8575 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.18593598389998] Failed to read output from testmodel.py, exit status != 0: 16.076574181206524 16.098936145 15.01202682 Calling exit ...