Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001336/0.001336, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001558/0.001558, allocations: 209 kB / 22.24 MB, free: 5.262 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.777 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.00283/0.00283, allocations: 283.9 kB / 312.7 MB, free: 2.598 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.285/1.285, allocations: 180.6 MB / 0.5369 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 178] 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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [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.00441/0.00441, allocations: 95.14 kB / 0.74 GB, free: 27.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1836, allocations: 95.38 MB / 0.8332 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03334/0.2169, allocations: 27.11 MB / 0.8596 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.2284, allocations: 6.541 MB / 0.866 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.2298, allocations: 67.38 kB / 0.8661 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.2321, allocations: 0.6953 MB / 0.8668 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004109/0.2363, allocations: 1.579 MB / 0.8683 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.2389, allocations: 1.077 MB / 0.8694 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003307/0.2422, allocations: 2.52 MB / 0.8718 GB, free: 88 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.2433, allocations: 0.6658 MB / 0.8725 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.2451, allocations: 1.074 MB / 0.8735 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.2463, allocations: 0.8402 MB / 0.8743 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.2464, allocations: 68 kB / 0.8744 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.248, allocations: 0.6704 MB / 0.8751 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.2483, allocations: 294.8 kB / 0.8753 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005355/0.2488, allocations: 465.4 kB / 0.8758 GB, free: 12 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.2511, allocations: 1.611 MB / 0.8774 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2511, allocations: 7.938 kB / 0.8774 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2511, allocations: 0 / 0.8774 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.895e-05/0.2511, allocations: 0 / 0.8774 GB, free: 10.37 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002717/0.2538, allocations: 1.54 MB / 0.8789 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2538, allocations: 9.344 kB / 0.8789 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003515/0.2574, allocations: 0.6009 MB / 0.8795 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.2589, allocations: 0.7835 MB / 0.8802 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/0.259, allocations: 62.36 kB / 0.8803 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.2591, allocations: 75.94 kB / 0.8804 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.2616, allocations: 1.111 MB / 0.8814 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.2617, allocations: 3.938 kB / 0.8814 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.018e-05/0.2617, allocations: 32 kB / 0.8815 GB, free: 6 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.2618, allocations: 20 kB / 0.8815 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003206/0.265, allocations: 1.008 MB / 0.8825 GB, free: 4.973 MB / 0.6231 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.005766/0.2707, allocations: 4.127 MB / 0.8865 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/0.2738, allocations: 0.8834 MB / 0.8874 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.2753, allocations: 470.9 kB / 0.8878 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006792/0.276, allocations: 176.3 kB / 0.888 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001746/0.2778, allocations: 0.5798 MB / 0.8886 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=61): time 2.354e-06/0.2778, allocations: 0 / 0.8886 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of matching and sorting (n=61): time 0.004917/0.2827, allocations: 1.507 MB / 0.89 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.2827, allocations: 55.91 kB / 0.8901 GB, free: 13 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.2841, allocations: 1.076 MB / 0.8911 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-05/0.2841, allocations: 41.7 kB / 0.8912 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005144/0.2847, allocations: 0.5707 MB / 0.8917 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.2849, allocations: 222.1 kB / 0.8919 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.2852, allocations: 166.6 kB / 0.8921 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2853, allocations: 333.9 kB / 0.8924 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.2868, allocations: 461.6 kB / 0.8929 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.2887, allocations: 0.9463 MB / 0.8938 GB, free: 9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003209/0.2919, allocations: 1.137 MB / 0.8949 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.292, allocations: 4 kB / 0.8949 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003767/0.2957, allocations: 1.281 MB / 0.8961 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.2957, allocations: 11.94 kB / 0.8962 GB, free: 6.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.2958, allocations: 8 kB / 0.8962 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.2958, allocations: 12 kB / 0.8962 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.2971, allocations: 272.3 kB / 0.8964 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.333e-05/0.2971, allocations: 19.92 kB / 0.8965 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.2982, allocations: 175.3 kB / 0.8966 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-05/0.2983, allocations: 47.91 kB / 0.8967 GB, free: 5.93 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004925/0.2988, allocations: 292.2 kB / 0.8969 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.299, allocations: 123.3 kB / 0.8971 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/0.3031, allocations: 1.431 MB / 0.8985 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.3031, allocations: 8 kB / 0.8985 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3031, allocations: 0 / 0.8985 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3031, allocations: 3.984 kB / 0.8985 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00535/0.3085, allocations: 2.256 MB / 0.9007 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3085, allocations: 192 / 0.9007 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.3096, allocations: 203.7 kB / 0.9009 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.3096, allocations: 4 kB / 0.9009 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.3097, allocations: 23.97 kB / 0.9009 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3097, allocations: 4 kB / 0.9009 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.3097, allocations: 7.938 kB / 0.9009 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005578/0.3152, allocations: 2.064 MB / 0.9029 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/0.3157, allocations: 199 kB / 0.9031 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.3158, allocations: 16 kB / 0.9031 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009594/0.3168, allocations: 115.8 kB / 0.9032 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.3169, allocations: 60.44 kB / 0.9033 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.647e-05/0.317, allocations: 35.97 kB / 0.9033 GB, free: 15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009618/0.318, allocations: 0.7304 MB / 0.904 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.318, allocations: 0 / 0.904 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00109/0.319, allocations: 363.2 kB / 0.9044 GB, free: 13.9 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002172/0.3212, allocations: 0.6802 MB / 0.9051 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003477/0.3247, allocations: 1.117 MB / 0.9061 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.3247, allocations: 7.938 kB / 0.9062 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.3264, allocations: 0.5701 MB / 0.9067 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.3281, allocations: 374.8 kB / 0.9071 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/0.3332, allocations: 2.423 MB / 0.9094 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.3338, allocations: 0.5253 MB / 0.9099 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008733/0.3347, allocations: 227.7 kB / 0.9102 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.335, allocations: 111.4 kB / 0.9103 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of SimCode: time 9.31e-07/0.335, allocations: 0 / 0.9103 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of Templates: time 0.0361/0.3711, allocations: 20.42 MB / 0.9302 GB, free: 3.98 MB / 0.67 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.131163142621517] Failed to read output from testmodel.py, exit status != 0: 0.3799382224678993 0.39459367599999995 0.140183575 Calling exit ...