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.00147/0.00147, allocations: 115.2 kB / 17.08 MB, free: 5.973 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.001634/0.001634, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7641/0.7641, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.92 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1554, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.02145/0.1769, allocations: 20.82 MB / 0.6531 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00781/0.1847, allocations: 5.396 MB / 0.6583 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008208/0.1856, allocations: 23.88 kB / 0.6584 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00093/0.1865, allocations: 337.8 kB / 0.6587 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.189, allocations: 0.9328 MB / 0.6596 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.1915, allocations: 0.9291 MB / 0.6605 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002267/0.1938, allocations: 1.743 MB / 0.6622 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007132/0.1945, allocations: 497.2 kB / 0.6627 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.1964, allocations: 0.7102 MB / 0.6634 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007638/0.1971, allocations: 0.4979 MB / 0.6639 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.884e-05/0.1972, allocations: 43.94 kB / 0.6639 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.1992, allocations: 1.123 MB / 0.665 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.1994, allocations: 143.4 kB / 0.6651 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.1998, allocations: 318.3 kB / 0.6654 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.2016, allocations: 1.208 MB / 0.6666 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2016, allocations: 0 / 0.6666 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.043e-06/0.2016, allocations: 0 / 0.6666 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.2017, allocations: 8 kB / 0.6666 GB, free: 1.578 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.001657/0.2033, allocations: 1.049 MB / 0.6676 GB, free: 484 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2034, allocations: 12.02 kB / 0.6677 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/0.2043, allocations: 180 kB / 0.6678 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.2054, allocations: 0.5925 MB / 0.6684 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.2054, allocations: 29 kB / 0.6684 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/0.2055, allocations: 40 kB / 0.6685 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009724/0.2065, allocations: 499.9 kB / 0.6689 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.2065, allocations: 0 / 0.6689 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.2066, allocations: 15.94 kB / 0.669 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.2066, allocations: 11.98 kB / 0.669 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009735/0.2076, allocations: 406.6 kB / 0.6694 GB, free: 14.64 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.002845/0.2104, allocations: 2.281 MB / 0.6716 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009467/0.2114, allocations: 366.9 kB / 0.6719 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004654/0.2119, allocations: 228.9 kB / 0.6722 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.2122, allocations: 340.6 kB / 0.6725 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006148/0.2128, allocations: 298.8 kB / 0.6728 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.2128, allocations: 0 / 0.6728 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.00223/0.2151, allocations: 0.8539 MB / 0.6736 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.2151, allocations: 85.11 kB / 0.6737 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.2157, allocations: 495 kB / 0.6742 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.2157, allocations: 33.7 kB / 0.6742 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.216, allocations: 276.4 kB / 0.6744 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.657e-05/0.2161, allocations: 110.4 kB / 0.6746 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.2162, allocations: 81.67 kB / 0.6746 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2164, allocations: 358.8 kB / 0.675 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.2168, allocations: 180.5 kB / 0.6751 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.2174, allocations: 261.1 kB / 0.6754 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/0.2183, allocations: 474 kB / 0.6758 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.2183, allocations: 4 kB / 0.6759 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001429/0.2197, allocations: 0.6084 MB / 0.6764 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.2198, allocations: 41.69 kB / 0.6765 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2198, allocations: 0 / 0.6765 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.2202, allocations: 64.81 kB / 0.6765 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.2205, allocations: 88.02 kB / 0.6766 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004792/0.221, allocations: 0.5991 MB / 0.6772 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.2215, allocations: 55.72 kB / 0.6773 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.2216, allocations: 19.98 kB / 0.6773 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005767/0.2222, allocations: 315.8 kB / 0.6776 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004862/0.2227, allocations: 257.2 kB / 0.6778 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009184/0.2236, allocations: 457 kB / 0.6783 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.2236, allocations: 0 / 0.6783 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001277/0.2249, allocations: 0.5849 MB / 0.6788 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.2249, allocations: 37.69 kB / 0.6789 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2249, allocations: 8.156 kB / 0.6789 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/0.2251, allocations: 44.83 kB / 0.6789 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.2255, allocations: 79.88 kB / 0.679 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.2271, allocations: 1.81 MB / 0.6808 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.2276, allocations: 51.73 kB / 0.6808 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.2277, allocations: 16 kB / 0.6808 GB, free: 2.113 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.0002365/0.2279, allocations: 242.5 kB / 0.6811 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.228, allocations: 59.34 kB / 0.6811 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.2294, allocations: 0.6424 MB / 0.6818 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.2295, allocations: 0 / 0.6818 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.2295, allocations: 64 / 0.6818 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/0.2307, allocations: 0.8051 MB / 0.6825 GB, free: 272 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.2329, allocations: 1.298 MB / 0.6838 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.2329, allocations: 0 / 0.6838 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.2333, allocations: 63.89 kB / 0.6839 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001361/0.2334, allocations: 48.92 kB / 0.6839 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.2334, allocations: 11.94 kB / 0.6839 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003607/0.2338, allocations: 0.5758 MB / 0.6845 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2338, allocations: 0 / 0.6845 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.2357, allocations: 0.9731 MB / 0.6854 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.236, allocations: 176.3 kB / 0.6856 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.775e-05/0.2361, allocations: 8 kB / 0.6856 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/0.2366, allocations: 44.02 kB / 0.6857 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.2367, allocations: 31.94 kB / 0.6857 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.2367, allocations: 19.98 kB / 0.6857 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004311/0.2372, allocations: 346.8 kB / 0.686 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2372, allocations: 4 kB / 0.686 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001052/0.2382, allocations: 335.5 kB / 0.6864 GB, free: 12.2 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.0007938/0.239, allocations: 307.7 kB / 0.6867 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002138/0.2412, allocations: 0.9668 MB / 0.6876 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2412, allocations: 0 / 0.6876 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006313/0.2418, allocations: 331.3 kB / 0.6879 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.243, allocations: 213.8 kB / 0.6881 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.2453, allocations: 1.147 MB / 0.6892 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.2457, allocations: 0.8745 MB / 0.6901 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.2459, allocations: 47.42 kB / 0.6901 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of SimCode: time 4e-07/0.2459, allocations: 4 kB / 0.6901 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of Templates: time 0.01823/0.2641, allocations: 11.44 MB / 0.7013 GB, free: 12.82 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)