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.001126/0.001126, allocations: 115.7 kB / 17.09 MB, free: 5.992 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.001147/0.001147, allocations: 192.7 kB / 18.02 MB, free: 5.07 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.311/1.311, allocations: 222.9 MB / 241.7 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.7242/0.7242, allocations: 115.3 MB / 407.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 68.42 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1328, allocations: 76.18 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.02061/0.1535, allocations: 20.81 MB / 0.6531 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007673/0.1612, allocations: 5.393 MB / 0.6583 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007094/0.1619, allocations: 27.81 kB / 0.6584 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008844/0.1628, allocations: 337.8 kB / 0.6587 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.1651, allocations: 0.9329 MB / 0.6596 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.1674, allocations: 0.9218 MB / 0.6605 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002111/0.1695, allocations: 1.743 MB / 0.6622 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006931/0.1702, allocations: 0.4933 MB / 0.6627 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.1719, allocations: 0.7092 MB / 0.6634 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006348/0.1725, allocations: 497.8 kB / 0.6638 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.122e-05/0.1726, allocations: 44 kB / 0.6639 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.1747, allocations: 1.123 MB / 0.665 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.1748, allocations: 151.4 kB / 0.6651 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.1752, allocations: 318.3 kB / 0.6654 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.1771, allocations: 1.212 MB / 0.6666 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1771, allocations: 0 / 0.6666 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1771, allocations: 0 / 0.6666 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.1771, allocations: 0 / 0.6666 GB, free: 1.582 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.002046/0.1792, allocations: 1.053 MB / 0.6676 GB, free: 484 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1792, allocations: 11.97 kB / 0.6677 GB, free: 472 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009047/0.1802, allocations: 180 kB / 0.6678 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.1814, allocations: 0.5886 MB / 0.6684 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.1814, allocations: 32.98 kB / 0.6684 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.532e-05/0.1815, allocations: 39.98 kB / 0.6685 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/0.1825, allocations: 0.496 MB / 0.669 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.1825, allocations: 4 kB / 0.669 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.1826, allocations: 16 kB / 0.669 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.1826, allocations: 8 kB / 0.669 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.1836, 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.002755/0.1863, allocations: 2.281 MB / 0.6716 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009468/0.1873, allocations: 362.9 kB / 0.6719 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/0.1878, allocations: 231.3 kB / 0.6722 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.1881, allocations: 336.6 kB / 0.6725 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006133/0.1887, allocations: 302.9 kB / 0.6728 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.1887, allocations: 0 / 0.6728 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.002173/0.1909, allocations: 0.8421 MB / 0.6736 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.191, allocations: 89.09 kB / 0.6737 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/0.1915, allocations: 498.9 kB / 0.6742 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.1915, allocations: 33.7 kB / 0.6742 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.1917, allocations: 280.4 kB / 0.6745 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.641e-05/0.1918, allocations: 110.4 kB / 0.6746 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.192, allocations: 73.69 kB / 0.6746 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.1921, allocations: 362.8 kB / 0.675 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.1926, allocations: 180.5 kB / 0.6751 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.1931, allocations: 265.1 kB / 0.6754 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/0.194, allocations: 466.1 kB / 0.6758 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.194, allocations: 7.984 kB / 0.6759 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0014/0.1954, allocations: 0.6123 MB / 0.6764 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.1955, allocations: 37.69 kB / 0.6765 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1955, allocations: 0 / 0.6765 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003502/0.1959, allocations: 68.97 kB / 0.6766 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.1962, allocations: 79.81 kB / 0.6766 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004618/0.1967, allocations: 0.5991 MB / 0.6772 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.1972, allocations: 59.64 kB / 0.6773 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.251e-05/0.1972, allocations: 12 kB / 0.6773 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005753/0.1978, allocations: 319.8 kB / 0.6776 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004927/0.1983, allocations: 257.2 kB / 0.6778 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008954/0.1992, allocations: 457 kB / 0.6783 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.1992, allocations: 4 kB / 0.6783 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001248/0.2005, allocations: 0.5849 MB / 0.6788 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.2005, allocations: 39.25 kB / 0.6789 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.2005, allocations: 0 / 0.6789 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/0.2007, allocations: 60.83 kB / 0.6789 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.201, allocations: 72.11 kB / 0.679 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.2026, allocations: 1.81 MB / 0.6808 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.203, allocations: 51.78 kB / 0.6808 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.2031, allocations: 19.98 kB / 0.6808 GB, free: 2.109 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.0002225/0.2033, allocations: 237.8 kB / 0.6811 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2034, allocations: 59.34 kB / 0.6811 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.2048, allocations: 0.6388 MB / 0.6817 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.2048, allocations: 7.984 kB / 0.6818 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.2048, allocations: 0 / 0.6818 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/0.2061, allocations: 0.8011 MB / 0.6825 GB, free: 272 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.2083, allocations: 1.294 MB / 0.6838 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.2083, allocations: 4 kB / 0.6838 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.2086, allocations: 71.97 kB / 0.6839 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/0.2088, allocations: 36.84 kB / 0.6839 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.2088, allocations: 15.98 kB / 0.6839 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003612/0.2092, allocations: 0.5757 MB / 0.6845 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2092, allocations: 7.969 kB / 0.6845 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.211, allocations: 0.9655 MB / 0.6854 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.2113, allocations: 176.3 kB / 0.6856 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.144e-05/0.2114, allocations: 12 kB / 0.6856 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/0.2118, allocations: 44.02 kB / 0.6857 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.2119, allocations: 27.86 kB / 0.6857 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.212, allocations: 19.97 kB / 0.6857 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003789/0.2123, allocations: 342.9 kB / 0.686 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2124, allocations: 0 / 0.686 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009947/0.2134, allocations: 339.4 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.000735/0.2141, allocations: 297.2 kB / 0.6866 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002104/0.2162, allocations: 0.9785 MB / 0.6876 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2162, allocations: 0 / 0.6876 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006274/0.2169, allocations: 327.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.001156/0.218, allocations: 217.9 kB / 0.6881 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.2203, allocations: 1.143 MB / 0.6892 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.2207, allocations: 0.8745 MB / 0.6901 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.2209, allocations: 63.28 kB / 0.6901 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.2209, allocations: 0 / 0.6901 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of Templates: time 0.01664/0.2375, allocations: 11.53 MB / 0.7014 GB, free: 12.73 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)