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.0009426/0.0009426, allocations: 96.03 kB / 15.68 MB, free: 488 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.00107/0.00107, allocations: 176.6 kB / 16.57 MB, free: 6.855 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.278/1.278, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6772/0.6772, allocations: 113.8 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 8 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1279, allocations: 77.14 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.01696/0.1448, allocations: 17.46 MB / 0.5739 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006474/0.1514, allocations: 4.657 MB / 0.5784 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006385/0.152, allocations: 15.88 kB / 0.5784 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008799/0.1529, allocations: 306.5 kB / 0.5787 GB, free: 5.137 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.1548, allocations: 0.8135 MB / 0.5795 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.1572, allocations: 0.8996 MB / 0.5804 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.1588, allocations: 1.043 MB / 0.5814 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006068/0.1594, allocations: 407.2 kB / 0.5818 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008916/0.1603, allocations: 0.5411 MB / 0.5823 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004467/0.1607, allocations: 334.6 kB / 0.5827 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.896e-05/0.1608, allocations: 24 kB / 0.5827 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.1624, allocations: 0.8307 MB / 0.5835 GB, free: 264 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.1625, allocations: 115.6 kB / 0.5836 GB, free: 148 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2406/0.4031, allocations: 142.1 kB / 0.5837 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.4051, allocations: 0.7805 MB / 0.5845 GB, free: 12.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4051, allocations: 0 / 0.5845 GB, free: 12.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4051, allocations: 0 / 0.5845 GB, free: 12.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.692e-05/0.4052, allocations: 0.9062 kB / 0.5845 GB, free: 12.44 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.002059/0.4072, allocations: 0.9102 MB / 0.5854 GB, free: 11.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.4073, allocations: 9.781 kB / 0.5854 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009972/0.4083, allocations: 200.1 kB / 0.5856 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009464/0.4093, allocations: 0.5084 MB / 0.5861 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003678/0.4096, allocations: 95.38 kB / 0.5862 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.4097, allocations: 41.91 kB / 0.5862 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.4108, allocations: 0.4946 MB / 0.5867 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.4108, allocations: 3.391 kB / 0.5867 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.4109, allocations: 18.12 kB / 0.5867 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.4109, allocations: 13.73 kB / 0.5867 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.412, allocations: 425.1 kB / 0.5871 GB, free: 11.41 MB / 446.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.003678/0.4157, allocations: 2.308 MB / 0.5894 GB, free: 25.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.4169, allocations: 403.6 kB / 0.5898 GB, free: 25.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.4172, allocations: 338.8 kB / 0.5901 GB, free: 25.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000663/0.4178, allocations: 308.1 kB / 0.5904 GB, free: 25.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 3.005e-06/0.4179, allocations: 0 / 0.5904 GB, free: 25.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002479/0.4203, allocations: 0.9587 MB / 0.5913 GB, free: 25.17 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.4204, allocations: 86 kB / 0.5914 GB, free: 25.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006798/0.4211, allocations: 0.4943 MB / 0.5919 GB, free: 24.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.4211, allocations: 35.73 kB / 0.5919 GB, free: 24.92 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.4214, allocations: 279.8 kB / 0.5922 GB, free: 24.79 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/0.4215, allocations: 108.9 kB / 0.5923 GB, free: 24.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.4215, allocations: 8.906 kB / 0.5923 GB, free: 24.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4217, allocations: 360.6 kB / 0.5927 GB, free: 24.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/0.4222, allocations: 181.2 kB / 0.5928 GB, free: 24.4 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/0.4228, allocations: 280 kB / 0.5931 GB, free: 24.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005469/0.4233, allocations: 225.5 kB / 0.5933 GB, free: 24.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.4234, allocations: 4.312 kB / 0.5933 GB, free: 24.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001649/0.425, allocations: 0.6296 MB / 0.5939 GB, free: 24.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/0.4253, allocations: 0.6515 MB / 0.5946 GB, free: 23.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4253, allocations: 1.438 kB / 0.5946 GB, free: 23.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003565/0.4257, allocations: 62.81 kB / 0.5946 GB, free: 23.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.4261, allocations: 86.3 kB / 0.5947 GB, free: 23.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004476/0.4265, allocations: 0.6008 MB / 0.5953 GB, free: 22.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.4272, allocations: 76.33 kB / 0.5954 GB, free: 22.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.4272, allocations: 21.66 kB / 0.5954 GB, free: 22.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.4273, allocations: 3.75 kB / 0.5954 GB, free: 22.91 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/0.4286, allocations: 0.5588 MB / 0.5959 GB, free: 22.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4286, allocations: 10.06 kB / 0.5959 GB, free: 22.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.4288, allocations: 47.23 kB / 0.596 GB, free: 22.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.4292, allocations: 85.98 kB / 0.5961 GB, free: 22.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.4306, allocations: 1.636 MB / 0.5977 GB, free: 21.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/0.4312, allocations: 79.36 kB / 0.5977 GB, free: 21.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/0.4313, allocations: 19.91 kB / 0.5978 GB, free: 21.41 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.0004021/0.4317, allocations: 295.6 kB / 0.598 GB, free: 21.19 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.4319, allocations: 56.44 kB / 0.5981 GB, free: 21.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.4335, allocations: 0.6661 MB / 0.5988 GB, free: 21.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.4335, allocations: 5.078 kB / 0.5988 GB, free: 21.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4335, allocations: 1.406 kB / 0.5988 GB, free: 21.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001456/0.435, allocations: 0.8194 MB / 0.5996 GB, free: 20.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.4377, allocations: 1.322 MB / 0.6008 GB, free: 20.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4377, allocations: 5.75 kB / 0.6009 GB, free: 20.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.4381, allocations: 68.34 kB / 0.6009 GB, free: 20.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001442/0.4383, allocations: 47.27 kB / 0.601 GB, free: 20.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.4383, allocations: 16.69 kB / 0.601 GB, free: 20.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003562/0.4387, allocations: 0.5725 MB / 0.6015 GB, free: 19.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4387, allocations: 7.984 kB / 0.6015 GB, free: 19.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.4408, allocations: 1.026 MB / 0.6025 GB, free: 19.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/0.4412, allocations: 190 kB / 0.6027 GB, free: 19.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.4413, allocations: 10.67 kB / 0.6027 GB, free: 19.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/0.442, allocations: 64.58 kB / 0.6028 GB, free: 19.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.4421, allocations: 28.12 kB / 0.6028 GB, free: 19.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.353e-05/0.4421, allocations: 20.69 kB / 0.6028 GB, free: 19.26 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004817/0.4426, allocations: 357.7 kB / 0.6032 GB, free: 19.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4426, allocations: 0 / 0.6032 GB, free: 19.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00134/0.444, allocations: 346 kB / 0.6035 GB, free: 19.13 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.0007535/0.4447, allocations: 309 kB / 0.6038 GB, free: 19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.4469, allocations: 1 MB / 0.6048 GB, free: 18.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4469, allocations: 1.062 kB / 0.6048 GB, free: 18.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006643/0.4476, allocations: 336.6 kB / 0.6051 GB, free: 18.67 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.449, allocations: 243.4 kB / 0.6053 GB, free: 18.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.4514, allocations: 1.346 MB / 0.6067 GB, free: 18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.452, allocations: 0.8918 MB / 0.6075 GB, free: 17.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006728/0.4526, allocations: 133 kB / 0.6077 GB, free: 17.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.4528, allocations: 48.19 kB / 0.6077 GB, free: 17.25 MB / 462.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4528, allocations: 1.125 kB / 0.6077 GB, free: 17.25 MB / 462.1 MB Notification: Performance of Templates: time 0.02153/0.4743, allocations: 10.94 MB / 0.6184 GB, free: 14.12 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)