Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.001551/0.001551, 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.001547/0.001547, allocations: 214 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.416/1.416, 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.9387/0.9387, allocations: 150 MB / 464 MB, free: 10.5 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_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.002028/0.002028, allocations: 71.3 kB / 0.6421 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1886, allocations: 89.17 MB / 0.7291 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6854/0.874, allocations: 246.4 MB / 0.9698 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.8912, allocations: 8.565 MB / 0.9782 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.894, allocations: 95.12 kB / 0.9783 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003411/0.8974, allocations: 1.072 MB / 0.9793 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.9079, allocations: 3.278 MB / 0.9825 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01055/0.9184, allocations: 3.604 MB / 0.986 GB, free: 40 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007319/0.9257, allocations: 3.975 MB / 0.9899 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002912/0.9287, allocations: 1.092 MB / 0.991 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006384/0.935, allocations: 2.32 MB / 0.9933 GB, free: 8.594 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/0.9383, allocations: 1.455 MB / 0.9947 GB, free: 7.133 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006561/0.9389, allocations: 128 kB / 0.9948 GB, free: 7.008 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009199/0.9481, allocations: 4.263 MB / 0.999 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.9494, allocations: 0.6112 MB / 0.9996 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002366/0.9517, allocations: 0.9947 MB / 1.001 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.9619, allocations: 3.885 MB / 1.004 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.9619, allocations: 0 / 1.004 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9619, allocations: 0 / 1.004 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000114/0.962, allocations: 0 / 1.004 GB, free: 13.22 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.008358/0.9704, allocations: 2.662 MB / 1.007 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.9704, allocations: 12.03 kB / 1.007 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.733e-05/0.9705, allocations: 33.3 kB / 1.007 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004069/0.9709, allocations: 202.4 kB / 1.007 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00756/0.9784, allocations: 1.138 MB / 1.008 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/0.9819, allocations: 1.18 MB / 1.009 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.982, allocations: 106.5 kB / 1.01 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/0.9824, allocations: 124 kB / 1.01 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004517/0.9869, allocations: 1.959 MB / 1.012 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.9869, allocations: 4.75 kB / 1.012 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.9871, allocations: 48 kB / 1.012 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.084e-05/0.9871, allocations: 66.34 kB / 1.012 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005151/0.9923, allocations: 1.894 MB / 1.014 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/1.005, allocations: 8.603 MB / 1.022 GB, free: 10.38 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004164/1.009, allocations: 1.451 MB / 1.023 GB, free: 8.918 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002036/1.011, allocations: 0.7505 MB / 1.024 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009918/1.012, allocations: 200.8 kB / 1.024 GB, free: 7.969 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00233/1.014, allocations: 0.8723 MB / 1.025 GB, free: 7.086 MB / 0.795 GB Notification: Performance of pre-optimization done (n=106): time 3.687e-06/1.014, allocations: 0 / 1.025 GB, free: 7.086 MB / 0.795 GB Notification: Performance of matching and sorting (n=106): time 0.007637/1.022, allocations: 2.396 MB / 1.027 GB, free: 4.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/1.022, allocations: 68.41 kB / 1.028 GB, free: 4.602 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/1.026, allocations: 1.742 MB / 1.029 GB, free: 2.812 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001791/1.026, allocations: 53.69 kB / 1.029 GB, free: 2.754 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008445/1.027, allocations: 0.8327 MB / 1.03 GB, free: 1.914 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004871/1.027, allocations: 396.7 kB / 1.03 GB, free: 1.523 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004432/1.028, allocations: 226.9 kB / 1.031 GB, free: 1.297 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000211/1.028, allocations: 361.9 kB / 1.031 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/1.03, allocations: 0.67 MB / 1.032 GB, free: 272 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/1.032, allocations: 1.053 MB / 1.033 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004236/1.036, allocations: 1.71 MB / 1.034 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.578e-05/1.036, allocations: 0 / 1.034 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005443/1.042, allocations: 1.941 MB / 1.036 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/1.042, allocations: 11.94 kB / 1.036 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.042, allocations: 12 kB / 1.036 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-05/1.042, allocations: 16 kB / 1.036 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/1.044, allocations: 359.9 kB / 1.037 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-05/1.044, allocations: 31.86 kB / 1.037 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/1.046, allocations: 254.6 kB / 1.037 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/1.046, allocations: 73.66 kB / 1.037 GB, free: 10.52 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.0009446/1.047, allocations: 387.4 kB / 1.037 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005394/1.048, allocations: 206.7 kB / 1.038 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005198/1.053, allocations: 1.855 MB / 1.039 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/1.053, allocations: 16 kB / 1.039 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/1.053, allocations: 0 / 1.039 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/1.053, allocations: 3.984 kB / 1.039 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009208/1.062, allocations: 3.986 MB / 1.043 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-05/1.062, allocations: 12.06 kB / 1.043 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/1.064, allocations: 275.6 kB / 1.044 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.458e-05/1.064, allocations: 12 kB / 1.044 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/1.064, allocations: 39.91 kB / 1.044 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.845e-05/1.064, allocations: 10.69 kB / 1.044 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.064, allocations: 15.92 kB / 1.044 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007319/1.071, allocations: 2.955 MB / 1.047 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009906/1.072, allocations: 330.3 kB / 1.047 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004155/1.073, allocations: 28 kB / 1.047 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/1.074, allocations: 127.8 kB / 1.047 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/1.074, allocations: 88.39 kB / 1.047 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/1.074, allocations: 51.97 kB / 1.047 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002068/1.077, allocations: 1.184 MB / 1.048 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/1.077, allocations: 0 / 1.048 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001602/1.078, allocations: 475.5 kB / 1.049 GB, free: 14.21 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (109): * Single equations (assignments): 103 * 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.009285/1.087, allocations: 3.968 MB / 1.053 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004636/1.092, allocations: 1.593 MB / 1.054 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.092, allocations: 0 / 1.054 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002201/1.094, allocations: 0.7897 MB / 1.055 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004992/1.099, allocations: 0.9746 MB / 1.056 GB, free: 7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03065/1.13, allocations: 14.78 MB / 1.07 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/1.131, allocations: 1.379 MB / 1.072 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001949/1.133, allocations: 467.2 kB / 1.072 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/1.134, allocations: 0.7296 MB / 1.073 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of SimCode: time 8.22e-07/1.134, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4801/1.614, allocations: 51.92 MB / 1.124 GB, free: 280.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.93/25.55, allocations: 0 / 1.124 GB, free: 280.5 MB / 0.8419 GB " [Timeout remaining time 634] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.572022405976895] Failed to read output from testmodel.py, exit status != 0: 25.797286849003285 25.814403277 24.848565175 Calling exit ...