Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 112.7 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7345/0.7345, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 70.8 kB / 0.5577 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1515, allocations: 76.18 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.02155/0.1731, allocations: 20.81 MB / 0.6524 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008443/0.1816, allocations: 5.395 MB / 0.6577 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.1827, allocations: 27.81 kB / 0.6577 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.1838, allocations: 349.8 kB / 0.658 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002708/0.1866, allocations: 0.9641 MB / 0.659 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.1891, allocations: 0.9346 MB / 0.6599 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002359/0.1915, allocations: 1.759 MB / 0.6616 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007113/0.1922, allocations: 489.2 kB / 0.6621 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.1941, allocations: 0.7224 MB / 0.6628 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006449/0.1947, allocations: 497.9 kB / 0.6632 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.21e-05/0.1948, allocations: 40 kB / 0.6633 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.1968, allocations: 1.135 MB / 0.6644 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.197, allocations: 139.4 kB / 0.6645 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003595/0.1974, allocations: 322.3 kB / 0.6648 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.1993, allocations: 1.204 MB / 0.666 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1993, allocations: 3.984 kB / 0.666 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1993, allocations: 4 kB / 0.666 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.1993, allocations: 0 / 0.666 GB, free: 1.547 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001637/0.201, allocations: 1.053 MB / 0.667 GB, free: 448 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.201, allocations: 8.031 kB / 0.6671 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009342/0.2019, allocations: 180 kB / 0.6672 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.2031, allocations: 0.5887 MB / 0.6678 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.2031, allocations: 29 kB / 0.6678 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/0.2032, allocations: 43.94 kB / 0.6679 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009968/0.2042, allocations: 492 kB / 0.6683 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.2043, allocations: 3.984 kB / 0.6683 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/0.2043, allocations: 19.98 kB / 0.6684 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.2043, allocations: 8 kB / 0.6684 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000993/0.2053, allocations: 410.6 kB / 0.6688 GB, free: 14.61 MB / 0.5137 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.003021/0.2084, allocations: 2.285 MB / 0.671 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009994/0.2094, allocations: 362.9 kB / 0.6713 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.2099, allocations: 224.9 kB / 0.6716 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/0.2102, allocations: 340.6 kB / 0.6719 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006489/0.2109, allocations: 298.9 kB / 0.6722 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.725e-06/0.2109, allocations: 4 kB / 0.6722 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.002433/0.2133, allocations: 0.8499 MB / 0.673 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.2134, allocations: 89.11 kB / 0.6731 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006187/0.2141, allocations: 495 kB / 0.6736 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.2141, allocations: 33.7 kB / 0.6736 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.2143, allocations: 272.4 kB / 0.6738 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.2145, allocations: 114.4 kB / 0.674 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.2146, allocations: 73.67 kB / 0.674 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.2148, allocations: 362.8 kB / 0.6744 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004593/0.2152, allocations: 184.5 kB / 0.6745 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.2158, allocations: 261.1 kB / 0.6748 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009551/0.2167, allocations: 478 kB / 0.6753 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2167, allocations: 0 / 0.6753 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001524/0.2183, allocations: 0.6084 MB / 0.6758 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.192e-05/0.2183, allocations: 33.7 kB / 0.6759 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2183, allocations: 0 / 0.6759 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003865/0.2187, allocations: 80.86 kB / 0.676 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.2191, allocations: 76.05 kB / 0.676 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005502/0.2197, allocations: 0.603 MB / 0.6766 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.2202, allocations: 55.72 kB / 0.6767 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.2203, allocations: 19.98 kB / 0.6767 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006337/0.2209, allocations: 315.8 kB / 0.677 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005041/0.2214, allocations: 257.2 kB / 0.6772 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009348/0.2224, allocations: 457 kB / 0.6777 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.2224, allocations: 0 / 0.6777 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001289/0.2237, allocations: 0.581 MB / 0.6782 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.2237, allocations: 41.84 kB / 0.6783 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2238, allocations: 8 kB / 0.6783 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.2239, allocations: 44.83 kB / 0.6783 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.2243, allocations: 75.88 kB / 0.6784 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.226, allocations: 1.806 MB / 0.6802 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.2265, allocations: 55.73 kB / 0.6802 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.2266, allocations: 12 kB / 0.6802 GB, free: 2.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002495/0.2268, allocations: 245.9 kB / 0.6805 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.227, allocations: 55.34 kB / 0.6805 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.2284, allocations: 0.6503 MB / 0.6812 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2284, allocations: 0 / 0.6812 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2284, allocations: 0 / 0.6812 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/0.2298, allocations: 0.809 MB / 0.6819 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.2319, allocations: 1.29 MB / 0.6832 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2319, allocations: 0 / 0.6832 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.2323, allocations: 55.95 kB / 0.6833 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/0.2324, allocations: 60.84 kB / 0.6833 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.2325, allocations: 8 kB / 0.6833 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003559/0.2328, allocations: 0.5796 MB / 0.6839 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2329, allocations: 0 / 0.6839 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.2347, allocations: 0.9614 MB / 0.6848 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.235, allocations: 180.3 kB / 0.685 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.2351, allocations: 8 kB / 0.685 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.2356, allocations: 48.08 kB / 0.6851 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.2357, allocations: 31.84 kB / 0.6851 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.2357, allocations: 19.98 kB / 0.6851 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004108/0.2361, allocations: 346.8 kB / 0.6854 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2361, allocations: 4 kB / 0.6854 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001055/0.2372, allocations: 335.5 kB / 0.6858 GB, free: 12.17 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007149/0.2379, allocations: 305.7 kB / 0.686 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002122/0.2401, allocations: 0.9707 MB / 0.687 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2401, allocations: 0 / 0.687 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.2407, allocations: 331.3 kB / 0.6873 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.242, allocations: 219.7 kB / 0.6875 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.2443, allocations: 1.114 MB / 0.6886 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.2448, allocations: 0.8745 MB / 0.6895 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004664/0.2452, allocations: 124.3 kB / 0.6896 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.2454, allocations: 47.42 kB / 0.6896 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of SimCode: time 8.51e-07/0.2454, allocations: 0 / 0.6896 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.01943/0.2648, allocations: 11.38 MB / 0.7007 GB, free: 12.83 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)