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.001091/0.001091, allocations: 92.55 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 175.2 kB / 16.58 MB, free: 6.844 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.347/1.347, allocations: 223.3 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.795/0.795, allocations: 115.5 MB / 407.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003437, allocations: 13.39 kB / 495.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1411, allocations: 77.54 MB / 0.5593 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.02028/0.1614, allocations: 19.08 MB / 0.578 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007542/0.169, allocations: 5.044 MB / 0.5829 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006228/0.1696, allocations: 23.81 kB / 0.5829 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008307/0.1705, allocations: 250.4 kB / 0.5831 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.1725, allocations: 0.7541 MB / 0.5839 GB, free: 232 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2454/0.4179, allocations: 0.7514 MB / 0.5846 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0028/0.4207, allocations: 1.948 MB / 0.5865 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008138/0.4216, allocations: 401 kB / 0.5869 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.4228, allocations: 0.5914 MB / 0.5875 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007212/0.4235, allocations: 466.1 kB / 0.5879 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.4236, allocations: 23.09 kB / 0.5879 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.4256, allocations: 0.9586 MB / 0.5889 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.4258, allocations: 118.4 kB / 0.589 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.426, allocations: 143.4 kB / 0.5891 GB, free: 12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.4274, allocations: 0.8218 MB / 0.5899 GB, free: 11.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4274, allocations: 0 / 0.5899 GB, free: 11.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4274, allocations: 4.5 kB / 0.5899 GB, free: 11.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.4274, allocations: 0.7188 kB / 0.5899 GB, free: 11.96 MB / 446.1 MB 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.001837/0.4293, allocations: 0.938 MB / 0.5909 GB, free: 27.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.4293, allocations: 9.406 kB / 0.5909 GB, free: 27.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008954/0.4302, allocations: 199.9 kB / 0.5911 GB, free: 27.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/0.4312, allocations: 0.5383 MB / 0.5916 GB, free: 26.99 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/0.4315, allocations: 97.19 kB / 0.5917 GB, free: 26.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.999e-05/0.4316, allocations: 38.81 kB / 0.5917 GB, free: 26.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009907/0.4326, allocations: 0.4949 MB / 0.5922 GB, free: 26.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4326, allocations: 5.719 kB / 0.5922 GB, free: 26.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.4327, allocations: 19.31 kB / 0.5922 GB, free: 26.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.4327, allocations: 8.562 kB / 0.5922 GB, free: 26.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.4337, allocations: 427.7 kB / 0.5926 GB, free: 26.9 MB / 462.1 MB 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.002747/0.4365, allocations: 2.297 MB / 0.5949 GB, free: 25.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000967/0.4375, allocations: 401.1 kB / 0.5953 GB, free: 25.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005016/0.438, allocations: 234.9 kB / 0.5955 GB, free: 25.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/0.4382, allocations: 345.3 kB / 0.5958 GB, free: 25.04 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000617/0.4388, allocations: 304.4 kB / 0.5961 GB, free: 24.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.795e-06/0.4389, allocations: 0.9062 kB / 0.5961 GB, free: 24.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002227/0.4411, allocations: 0.8843 MB / 0.597 GB, free: 24.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.4411, allocations: 85.45 kB / 0.597 GB, free: 24.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006285/0.4418, allocations: 493 kB / 0.5975 GB, free: 24.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.4418, allocations: 36.39 kB / 0.5976 GB, free: 24.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.442, allocations: 277.5 kB / 0.5978 GB, free: 24.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.4421, allocations: 108.5 kB / 0.5979 GB, free: 24.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.4422, allocations: 8.188 kB / 0.5979 GB, free: 24.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4423, allocations: 366.5 kB / 0.5983 GB, free: 23.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.4428, allocations: 178.7 kB / 0.5984 GB, free: 23.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.4433, allocations: 277.3 kB / 0.5987 GB, free: 23.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.4438, allocations: 220.4 kB / 0.5989 GB, free: 23.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4438, allocations: 4 kB / 0.5989 GB, free: 23.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001423/0.4453, allocations: 0.6361 MB / 0.5995 GB, free: 23.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.536e-05/0.4454, allocations: 163.1 kB / 0.5997 GB, free: 23.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4454, allocations: 6.672 kB / 0.5997 GB, free: 23.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003227/0.4457, allocations: 67.75 kB / 0.5998 GB, free: 23.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.4461, allocations: 85.83 kB / 0.5999 GB, free: 23.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004372/0.4466, allocations: 0.5984 MB / 0.6004 GB, free: 23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.4472, allocations: 75.77 kB / 0.6005 GB, free: 22.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.4472, allocations: 18.58 kB / 0.6005 GB, free: 22.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.4472, allocations: 7.281 kB / 0.6005 GB, free: 22.98 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/0.4485, allocations: 0.5621 MB / 0.6011 GB, free: 22.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4485, allocations: 2.25 kB / 0.6011 GB, free: 22.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.4487, allocations: 49.77 kB / 0.6011 GB, free: 22.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.4491, allocations: 82.56 kB / 0.6012 GB, free: 22.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.4505, allocations: 1.629 MB / 0.6028 GB, free: 21.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.451, allocations: 78.75 kB / 0.6029 GB, free: 21.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.451, allocations: 16.89 kB / 0.6029 GB, free: 21.47 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003275/0.4514, allocations: 299.8 kB / 0.6032 GB, free: 21.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.4515, allocations: 56.41 kB / 0.6032 GB, free: 21.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.4528, allocations: 0.6703 MB / 0.6039 GB, free: 21.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.4529, allocations: 8.203 kB / 0.6039 GB, free: 21.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.4529, allocations: 5 kB / 0.6039 GB, free: 21.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001162/0.454, allocations: 0.8104 MB / 0.6047 GB, free: 20.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.4563, allocations: 1.318 MB / 0.606 GB, free: 20.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.4563, allocations: 1.828 kB / 0.606 GB, free: 20.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003438/0.4566, allocations: 70.7 kB / 0.6061 GB, free: 20.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.4568, allocations: 43.92 kB / 0.6061 GB, free: 20.28 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.4568, allocations: 14.27 kB / 0.6061 GB, free: 20.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003362/0.4572, allocations: 0.5779 MB / 0.6067 GB, free: 19.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4572, allocations: 6 kB / 0.6067 GB, free: 19.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.4589, allocations: 0.9967 MB / 0.6077 GB, free: 19.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.4592, allocations: 190.7 kB / 0.6078 GB, free: 19.36 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.847e-05/0.4593, allocations: 16.34 kB / 0.6078 GB, free: 19.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.4598, allocations: 65.78 kB / 0.6079 GB, free: 19.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.4599, allocations: 19.31 kB / 0.6079 GB, free: 19.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.4599, allocations: 19.58 kB / 0.6079 GB, free: 19.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003819/0.4603, allocations: 342.6 kB / 0.6083 GB, free: 19.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4603, allocations: 2.734 kB / 0.6083 GB, free: 19.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001217/0.4615, allocations: 340.2 kB / 0.6086 GB, free: 19.22 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006034/0.4621, allocations: 299.5 kB / 0.6089 GB, free: 19.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.464, allocations: 1.002 MB / 0.6099 GB, free: 18.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4641, allocations: 1.156 kB / 0.6099 GB, free: 18.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005815/0.4647, allocations: 333.1 kB / 0.6102 GB, free: 18.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.466, allocations: 248.3 kB / 0.6104 GB, free: 18.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.468, allocations: 1.347 MB / 0.6117 GB, free: 18.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.4685, allocations: 0.8786 MB / 0.6126 GB, free: 17.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005661/0.4691, allocations: 131.6 kB / 0.6127 GB, free: 17.35 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.4692, allocations: 45.7 kB / 0.6128 GB, free: 17.35 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4692, allocations: 4 kB / 0.6128 GB, free: 17.34 MB / 462.1 MB Notification: Performance of Templates: time 0.01655/0.4858, allocations: 10.68 MB / 0.6232 GB, free: 12.95 MB / 462.1 MB 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)