Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 103.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002583/0.002583, allocations: 293.1 kB / 303 MB, free: 9.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.188/1.188, allocations: 180.9 MB / 0.5261 GB, free: 14.59 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 106.3 kB / 0.7248 GB, free: 39.88 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1887, allocations: 94.16 MB / 0.8167 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2441/0.4329, allocations: 194.5 MB / 1.007 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.504/0.9368, allocations: 5.141 MB / 1.012 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.9381, allocations: 49.62 kB / 1.012 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.9402, allocations: 0.8307 MB / 1.013 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006823/0.947, allocations: 2.691 MB / 1.015 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.9501, allocations: 1.112 MB / 1.016 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004245/0.9544, allocations: 2.693 MB / 1.019 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.9561, allocations: 0.8074 MB / 1.02 GB, free: 2.188 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.9588, allocations: 1.15 MB / 1.021 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.9606, allocations: 1.055 MB / 1.022 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.9609, allocations: 87.06 kB / 1.022 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004859/0.9658, allocations: 1.907 MB / 1.024 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0009633/0.9667, allocations: 462 kB / 1.024 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.9683, allocations: 0.6639 MB / 1.025 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005074/0.9734, allocations: 2.216 MB / 1.027 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.9734, allocations: 3 kB / 1.027 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9734, allocations: 4.094 kB / 1.027 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.415e-05/0.9734, allocations: 3.188 kB / 1.027 GB, free: 2.016 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005333/0.9788, allocations: 2.008 MB / 1.029 GB, free: 1.016 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.9788, allocations: 10.19 kB / 1.029 GB, free: 1.016 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.9789, allocations: 140.8 kB / 1.029 GB, free: 0.9766 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005235/0.9842, allocations: 0.9018 MB / 1.03 GB, free: 0.8945 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.9861, allocations: 0.9788 MB / 1.031 GB, free: 16.5 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/0.9862, allocations: 71.83 kB / 1.031 GB, free: 16.5 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.9863, allocations: 96.08 kB / 1.031 GB, free: 16.5 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003244/0.9896, allocations: 1.582 MB / 1.033 GB, free: 16.38 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.9896, allocations: 3.281 kB / 1.033 GB, free: 16.38 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.9897, allocations: 34.25 kB / 1.033 GB, free: 16.38 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-05/0.9897, allocations: 49.12 kB / 1.033 GB, free: 16.37 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00456/0.9943, allocations: 1.85 MB / 1.035 GB, free: 16.37 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007632/1.002, allocations: 4.731 MB / 1.039 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003799/1.006, allocations: 1.514 MB / 1.041 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/1.008, allocations: 0.8209 MB / 1.041 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/1.009, allocations: 0.9456 MB / 1.042 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002162/1.011, allocations: 0.9123 MB / 1.043 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=95): time 3.096e-06/1.011, allocations: 0 / 1.043 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of matching and sorting (n=95): time 0.006892/1.018, allocations: 2.46 MB / 1.046 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/1.018, allocations: 64.16 kB / 1.046 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/1.019, allocations: 1.203 MB / 1.047 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/1.02, allocations: 47.67 kB / 1.047 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/1.02, allocations: 0.5419 MB / 1.048 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/1.02, allocations: 341.2 kB / 1.048 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/1.021, allocations: 193.5 kB / 1.048 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.021, allocations: 340 kB / 1.048 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/1.023, allocations: 0.7003 MB / 1.049 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/1.025, allocations: 0.9093 MB / 1.05 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003855/1.029, allocations: 1.557 MB / 1.051 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/1.029, allocations: 1.812 kB / 1.051 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00452/1.033, allocations: 1.787 MB / 1.053 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.033, allocations: 12.38 kB / 1.053 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.033, allocations: 4.812 kB / 1.053 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/1.033, allocations: 9.5 kB / 1.053 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/1.035, allocations: 335.1 kB / 1.054 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/1.035, allocations: 12.05 kB / 1.054 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/1.036, allocations: 241.8 kB / 1.054 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/1.037, allocations: 49.77 kB / 1.054 GB, free: 11.71 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006108/1.037, allocations: 332.5 kB / 1.054 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/1.037, allocations: 147.5 kB / 1.054 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004669/1.042, allocations: 1.797 MB / 1.056 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/1.042, allocations: 13.88 kB / 1.056 GB, free: 11.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.042, allocations: 4 kB / 1.056 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.042, allocations: 4.781 kB / 1.056 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007025/1.049, allocations: 3.337 MB / 1.059 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/1.049, allocations: 9.438 kB / 1.059 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.051, allocations: 285.8 kB / 1.06 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/1.051, allocations: 10.28 kB / 1.06 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.169e-05/1.051, allocations: 34.59 kB / 1.06 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/1.051, allocations: 9.094 kB / 1.06 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.051, allocations: 11.53 kB / 1.06 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006741/1.058, allocations: 2.848 MB / 1.062 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008213/1.058, allocations: 332.5 kB / 1.063 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/1.059, allocations: 24.72 kB / 1.063 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/1.06, allocations: 158.8 kB / 1.063 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/1.06, allocations: 72.06 kB / 1.063 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/1.06, allocations: 38.42 kB / 1.063 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009369/1.061, allocations: 0.8317 MB / 1.064 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9.1e-08/1.061, allocations: 0 / 1.064 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00106/1.062, allocations: 345.4 kB / 1.064 GB, free: 10.08 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (95): * Single equations (assignments): 89 * 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.00911/1.071, allocations: 3.84 MB / 1.068 GB, free: 9.027 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004867/1.076, allocations: 1.591 MB / 1.069 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.076, allocations: 1.312 kB / 1.069 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002244/1.078, allocations: 0.8142 MB / 1.07 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/1.081, allocations: 0.6169 MB / 1.071 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/1.104, allocations: 12.08 MB / 1.083 GB, free: 3.797 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008811/1.105, allocations: 1.179 MB / 1.084 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001514/1.106, allocations: 370 kB / 1.084 GB, free: 2.273 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007147/1.107, allocations: 0.503 MB / 1.085 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of SimCode: time 9.32e-07/1.107, allocations: 0 / 1.085 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09303/1.2, allocations: 35.89 MB / 1.12 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/12.19, allocations: 10.36 kB / 1.12 GB, free: 14.79 MB / 0.8106 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.53473066817969] Failed to read output from testmodel.py, exit status != 0: 12.336423891130835 12.350308769 11.373852186 Calling exit ...