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.0009994/0.0009993, allocations: 106 kB / 16.4 MB, free: 6.504 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.001117/0.001117, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6717/0.6717, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 64.36 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.137, allocations: 76.18 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.01948/0.1565, allocations: 20.81 MB / 0.6524 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007323/0.1639, allocations: 5.396 MB / 0.6577 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000603/0.1645, allocations: 23.81 kB / 0.6577 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008158/0.1654, allocations: 345.8 kB / 0.658 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.1674, allocations: 0.9235 MB / 0.6589 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.1697, allocations: 0.9319 MB / 0.6598 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002047/0.1718, allocations: 1.745 MB / 0.6615 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006212/0.1724, allocations: 497.2 kB / 0.662 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.1739, allocations: 0.7221 MB / 0.6627 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/0.1745, allocations: 0.4901 MB / 0.6632 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.839e-05/0.1746, allocations: 40 kB / 0.6632 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.1763, allocations: 1.127 MB / 0.6643 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.1764, allocations: 143.4 kB / 0.6645 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.1767, allocations: 322.3 kB / 0.6648 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.1782, allocations: 1.208 MB / 0.666 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1782, allocations: 4 kB / 0.666 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1782, allocations: 0 / 0.666 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.1783, allocations: 4 kB / 0.666 GB, free: 1.562 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.001497/0.1798, allocations: 1.045 MB / 0.667 GB, free: 472 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1798, allocations: 8.031 kB / 0.667 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008643/0.1807, allocations: 183.9 kB / 0.6672 GB, free: 280 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.1817, allocations: 0.5886 MB / 0.6677 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.1817, allocations: 29 kB / 0.6678 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.1818, allocations: 44 kB / 0.6678 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009276/0.1827, allocations: 495.9 kB / 0.6683 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1828, allocations: 0 / 0.6683 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.1828, allocations: 16 kB / 0.6683 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.1828, allocations: 12 kB / 0.6683 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009466/0.1838, allocations: 406.6 kB / 0.6687 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.002669/0.1865, allocations: 2.281 MB / 0.6709 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009231/0.1874, allocations: 371 kB / 0.6713 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.1879, allocations: 226.7 kB / 0.6715 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/0.1882, allocations: 344.6 kB / 0.6718 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005865/0.1888, allocations: 298.9 kB / 0.6721 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.1888, allocations: 0 / 0.6721 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.00209/0.1909, allocations: 0.846 MB / 0.6729 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.1909, allocations: 89.11 kB / 0.673 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.1914, allocations: 491 kB / 0.6735 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.1915, allocations: 33.7 kB / 0.6735 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.1917, allocations: 280.4 kB / 0.6738 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-05/0.1918, allocations: 110.4 kB / 0.6739 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.1919, allocations: 69.69 kB / 0.674 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.192, allocations: 366.8 kB / 0.6743 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.1924, allocations: 180.5 kB / 0.6745 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.1929, allocations: 269 kB / 0.6747 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008712/0.1938, allocations: 474 kB / 0.6752 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1938, allocations: 0 / 0.6752 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00129/0.1951, allocations: 0.6084 MB / 0.6758 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.1952, allocations: 37.69 kB / 0.6758 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.1952, allocations: 4.078 kB / 0.6758 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003342/0.1955, allocations: 76.89 kB / 0.6759 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.1959, allocations: 75.88 kB / 0.676 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000424/0.1963, allocations: 0.5991 MB / 0.6766 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.1967, allocations: 55.64 kB / 0.6766 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.1968, allocations: 19.98 kB / 0.6766 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005369/0.1973, allocations: 311.9 kB / 0.6769 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000469/0.1978, allocations: 265.2 kB / 0.6772 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008273/0.1986, allocations: 457 kB / 0.6776 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.1986, allocations: 0 / 0.6776 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001147/0.1998, allocations: 0.581 MB / 0.6782 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.1998, allocations: 41.69 kB / 0.6782 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1998, allocations: 4 kB / 0.6782 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.2, allocations: 44.98 kB / 0.6783 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.2003, allocations: 75.89 kB / 0.6783 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.2017, allocations: 1.806 MB / 0.6801 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.2021, allocations: 59.8 kB / 0.6802 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.2022, allocations: 12 kB / 0.6802 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.0001767/0.2024, allocations: 245.9 kB / 0.6804 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.2025, allocations: 55.34 kB / 0.6805 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.2038, allocations: 0.6503 MB / 0.6811 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2038, allocations: 0 / 0.6811 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.2038, allocations: 8 kB / 0.6811 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00117/0.205, allocations: 0.8012 MB / 0.6819 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.207, allocations: 1.29 MB / 0.6831 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.207, allocations: 4.094 kB / 0.6832 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.2073, allocations: 59.89 kB / 0.6832 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.2074, allocations: 44.84 kB / 0.6833 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.2075, allocations: 11.98 kB / 0.6833 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000314/0.2078, allocations: 0.5835 MB / 0.6838 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2078, allocations: 0 / 0.6838 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.2095, allocations: 0.9692 MB / 0.6848 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.2097, allocations: 180.3 kB / 0.685 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.2098, allocations: 12.06 kB / 0.685 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.2103, allocations: 44.02 kB / 0.685 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.2103, allocations: 27.91 kB / 0.685 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.2104, allocations: 19.98 kB / 0.6851 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000341/0.2107, allocations: 346.8 kB / 0.6854 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2107, allocations: 0 / 0.6854 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008865/0.2116, allocations: 335.5 kB / 0.6857 GB, free: 12.19 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.0005908/0.2122, allocations: 300.5 kB / 0.686 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001939/0.2142, allocations: 0.9706 MB / 0.6869 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2142, allocations: 0 / 0.6869 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005772/0.2148, allocations: 327.2 kB / 0.6872 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.2158, allocations: 236.5 kB / 0.6875 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.2178, allocations: 1.098 MB / 0.6885 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.2183, allocations: 0.8823 MB / 0.6894 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004017/0.2187, allocations: 132.3 kB / 0.6895 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.2188, allocations: 43.42 kB / 0.6896 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.2188, allocations: 0 / 0.6896 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of Templates: time 0.0186/0.2374, allocations: 11.37 MB / 0.7007 GB, free: 12.85 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)