Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001729/0.001729, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001654/0.001654, allocations: 221.7 kB / 22.99 MB, free: 4.914 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002484/0.002484, allocations: 285.2 kB / 313.5 MB, free: 2.633 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.251/1.251, allocations: 180.6 MB / 0.5377 GB, free: 14.57 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002887/0.002887, allocations: 101.2 kB / 0.7407 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1602, allocations: 95.39 MB / 0.8339 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6156/0.7758, allocations: 171.4 MB / 1.001 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009794/0.7856, allocations: 5.013 MB / 1.006 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.7876, allocations: 65.62 kB / 1.006 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.7899, allocations: 0.8 MB / 1.007 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008807/0.7987, allocations: 2.731 MB / 1.01 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003214/0.8019, allocations: 1.028 MB / 1.011 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004293/0.8062, allocations: 2.663 MB / 1.013 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.8075, allocations: 0.7096 MB / 1.014 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002544/0.8101, allocations: 1.142 MB / 1.015 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.8117, allocations: 0.9943 MB / 1.016 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.8119, allocations: 78.91 kB / 1.016 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003839/0.8157, allocations: 1.482 MB / 1.018 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006157/0.8163, allocations: 450.8 kB / 1.018 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000848/0.8172, allocations: 0.5312 MB / 1.019 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004396/0.8216, allocations: 2.129 MB / 1.021 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8216, allocations: 5.062 kB / 1.021 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8216, allocations: 1 kB / 1.021 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.517e-05/0.8216, allocations: 0 / 1.021 GB, free: 3.172 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005184/0.8268, allocations: 1.914 MB / 1.022 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.8268, allocations: 17.38 kB / 1.022 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003767/0.8306, allocations: 0.6697 MB / 1.023 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.8325, allocations: 0.8627 MB / 1.024 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.194e-05/0.8325, allocations: 69.48 kB / 1.024 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.8327, allocations: 86.5 kB / 1.024 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/0.8357, allocations: 1.479 MB / 1.026 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.8358, allocations: 3.938 kB / 1.026 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/0.8359, allocations: 39.97 kB / 1.026 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-05/0.8359, allocations: 47.33 kB / 1.026 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/0.8396, allocations: 1.533 MB / 1.027 GB, free: 17.57 MB / 0.7325 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.007678/0.8472, allocations: 4.567 MB / 1.032 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/0.8507, allocations: 1.254 MB / 1.033 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.8523, allocations: 0.629 MB / 1.033 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000634/0.8529, allocations: 130.9 kB / 1.034 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001694/0.8546, allocations: 0.7094 MB / 1.034 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=80): time 3.155e-06/0.8546, allocations: 1.031 kB / 1.034 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=80): time 0.005319/0.86, allocations: 1.904 MB / 1.036 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.86, allocations: 61.78 kB / 1.036 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.8612, allocations: 1.088 MB / 1.037 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.8613, allocations: 45.95 kB / 1.037 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.8617, allocations: 0.6139 MB / 1.038 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.8619, allocations: 290.9 kB / 1.038 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.8621, allocations: 180.1 kB / 1.038 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.8623, allocations: 345.3 kB / 1.039 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.8638, allocations: 0.5452 MB / 1.039 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.8655, allocations: 1.06 MB / 1.04 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/0.8685, allocations: 1.335 MB / 1.042 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.8685, allocations: 2.781 kB / 1.042 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003662/0.8721, allocations: 1.492 MB / 1.043 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.8721, allocations: 22.62 kB / 1.043 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.8722, allocations: 6.156 kB / 1.043 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.8722, allocations: 14.84 kB / 1.043 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.8735, allocations: 298.3 kB / 1.043 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/0.8735, allocations: 16.78 kB / 1.043 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.8748, allocations: 178.8 kB / 1.044 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.215e-05/0.8749, allocations: 50.95 kB / 1.044 GB, free: 12.95 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0006079/0.8755, allocations: 343.4 kB / 1.044 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.8757, allocations: 131.1 kB / 1.044 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/0.8794, allocations: 1.448 MB / 1.045 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.8794, allocations: 12.66 kB / 1.045 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.8794, allocations: 2.75 kB / 1.045 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.8794, allocations: 5.062 kB / 1.045 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005534/0.8849, allocations: 2.625 MB / 1.048 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.8849, allocations: 2.562 kB / 1.048 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.8861, allocations: 230.8 kB / 1.048 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.8861, allocations: 6.562 kB / 1.048 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/0.8862, allocations: 31.12 kB / 1.048 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.8862, allocations: 14.89 kB / 1.048 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.8862, allocations: 9.469 kB / 1.048 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005138/0.8913, allocations: 2.323 MB / 1.051 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005832/0.8919, allocations: 213.7 kB / 1.051 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.8921, allocations: 25 kB / 1.051 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000988/0.8931, allocations: 107.4 kB / 1.051 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.8932, allocations: 67.41 kB / 1.051 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.41e-05/0.8933, allocations: 39.69 kB / 1.051 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008765/0.8941, allocations: 0.7473 MB / 1.052 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8941, allocations: 2.312 kB / 1.052 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00119/0.8953, allocations: 343 kB / 1.052 GB, free: 11.55 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 80 * 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.001808/0.8971, allocations: 0.5393 MB / 1.053 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003448/0.9006, allocations: 1.284 MB / 1.054 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.9006, allocations: 0 / 1.054 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.9023, allocations: 0.6333 MB / 1.054 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.9044, allocations: 472.8 kB / 1.055 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/0.9097, allocations: 2.691 MB / 1.058 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.9103, allocations: 0.597 MB / 1.058 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004826/0.9108, allocations: 117 kB / 1.058 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of SimCode: time 1.533e-06/0.9108, allocations: 0 / 1.058 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of Templates: time 0.03093/0.9417, allocations: 19.34 MB / 1.077 GB, free: 11.98 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.423677776008844] Failed to read output from testmodel.py, exit status != 0: 0.9496134612709284 0.964593123 0.13981280199999996 Calling exit ...