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.0008109/0.0008109, allocations: 93.5 kB / 16.02 MB, free: 84 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.0008698/0.0008697, allocations: 173.3 kB / 16.91 MB, free: 6.68 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.684/0.684, allocations: 115.5 MB / 407.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002993, allocations: 12.97 kB / 495.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 77.53 MB / 0.56 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.02055/0.1661, allocations: 20.12 MB / 0.5796 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2859/0.4521, allocations: 5.399 MB / 0.5849 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009865/0.4531, allocations: 20.78 kB / 0.5849 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.4541, allocations: 283.5 kB / 0.5852 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002723/0.4569, allocations: 0.8544 MB / 0.586 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.4595, allocations: 0.8162 MB / 0.5868 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003632/0.4631, allocations: 2.297 MB / 0.589 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008625/0.464, allocations: 429.2 kB / 0.5894 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.4654, allocations: 0.6129 MB / 0.59 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009167/0.4663, allocations: 494.5 kB / 0.5905 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.482e-05/0.4664, allocations: 22.88 kB / 0.5905 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.4689, allocations: 1.097 MB / 0.5916 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.4692, allocations: 122.5 kB / 0.5917 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004308/0.4696, allocations: 331.9 kB / 0.592 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.4718, allocations: 1.181 MB / 0.5932 GB, free: 10.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4718, allocations: 0.5938 kB / 0.5932 GB, free: 10.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4719, allocations: 0.75 kB / 0.5932 GB, free: 10.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.4719, allocations: 3.938 kB / 0.5932 GB, free: 10.03 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.001744/0.4736, allocations: 0.9226 MB / 0.5941 GB, free: 25.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4737, allocations: 9.094 kB / 0.5941 GB, free: 25.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009685/0.4746, allocations: 195.7 kB / 0.5943 GB, free: 25.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.4757, allocations: 0.5528 MB / 0.5948 GB, free: 25.03 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003786/0.4761, allocations: 101.1 kB / 0.5949 GB, free: 25.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.802e-05/0.4762, allocations: 37.72 kB / 0.595 GB, free: 25.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.4775, allocations: 0.5051 MB / 0.5955 GB, free: 24.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.4775, allocations: 3.906 kB / 0.5955 GB, free: 24.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.4775, allocations: 17.28 kB / 0.5955 GB, free: 24.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.4776, allocations: 10.67 kB / 0.5955 GB, free: 24.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.4789, allocations: 436.3 kB / 0.5959 GB, free: 24.91 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.003325/0.4822, allocations: 2.291 MB / 0.5981 GB, free: 23.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.4834, allocations: 395.1 kB / 0.5985 GB, free: 23.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006041/0.484, allocations: 244.9 kB / 0.5988 GB, free: 23.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/0.4843, allocations: 337.7 kB / 0.5991 GB, free: 23.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007358/0.485, allocations: 306.1 kB / 0.5994 GB, free: 22.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/0.485, allocations: 0 / 0.5994 GB, free: 22.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002482/0.4875, allocations: 0.8922 MB / 0.6002 GB, free: 22.72 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.4876, allocations: 86.22 kB / 0.6003 GB, free: 22.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/0.4883, allocations: 0.4892 MB / 0.6008 GB, free: 22.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.4884, allocations: 37.11 kB / 0.6008 GB, free: 22.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.4886, allocations: 274.8 kB / 0.6011 GB, free: 22.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.626e-05/0.4887, allocations: 106.8 kB / 0.6012 GB, free: 22.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.4888, allocations: 33.41 kB / 0.6012 GB, free: 22.26 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.489, allocations: 363.7 kB / 0.6016 GB, free: 21.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.4895, allocations: 187.7 kB / 0.6018 GB, free: 21.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/0.4901, allocations: 279.2 kB / 0.602 GB, free: 21.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.4911, allocations: 484 kB / 0.6025 GB, free: 21.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4911, allocations: 1.828 kB / 0.6025 GB, free: 21.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001479/0.4926, allocations: 0.6396 MB / 0.6031 GB, free: 21.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.4927, allocations: 172.3 kB / 0.6033 GB, free: 21.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.4928, allocations: 2.312 kB / 0.6033 GB, free: 21.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.4931, allocations: 78.2 kB / 0.6034 GB, free: 21.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.4935, allocations: 85.03 kB / 0.6034 GB, free: 21.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005035/0.494, allocations: 0.5901 MB / 0.604 GB, free: 20.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/0.4947, allocations: 80.25 kB / 0.6041 GB, free: 20.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.4948, allocations: 25.33 kB / 0.6041 GB, free: 20.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.4948, allocations: 6.781 kB / 0.6041 GB, free: 20.82 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001274/0.4961, allocations: 0.5665 MB / 0.6047 GB, free: 20.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.4961, allocations: 1.688 kB / 0.6047 GB, free: 20.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/0.4963, allocations: 49.66 kB / 0.6047 GB, free: 20.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.4966, allocations: 86.47 kB / 0.6048 GB, free: 20.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.498, allocations: 1.638 MB / 0.6064 GB, free: 19.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/0.4986, allocations: 79.69 kB / 0.6065 GB, free: 19.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.4987, allocations: 16.89 kB / 0.6065 GB, free: 19.29 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 (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.0004027/0.4991, allocations: 294.3 kB / 0.6068 GB, free: 19.06 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/0.4992, allocations: 59.31 kB / 0.6068 GB, free: 19.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.5007, allocations: 0.6634 MB / 0.6075 GB, free: 18.92 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.5007, allocations: 3.344 kB / 0.6075 GB, free: 18.92 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5007, allocations: 7.938 kB / 0.6075 GB, free: 18.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/0.5019, allocations: 0.8228 MB / 0.6083 GB, free: 18.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.5042, allocations: 1.319 MB / 0.6096 GB, free: 17.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.5042, allocations: 1 kB / 0.6096 GB, free: 17.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.5046, allocations: 72.48 kB / 0.6097 GB, free: 17.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/0.5047, allocations: 46.2 kB / 0.6097 GB, free: 17.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.5047, allocations: 12.39 kB / 0.6097 GB, free: 17.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003658/0.5051, allocations: 0.5802 MB / 0.6103 GB, free: 17.38 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5051, allocations: 1 kB / 0.6103 GB, free: 17.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.507, allocations: 1.005 MB / 0.6113 GB, free: 16.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.5072, allocations: 188.9 kB / 0.6114 GB, free: 16.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.5073, allocations: 13.06 kB / 0.6115 GB, free: 16.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/0.5079, allocations: 64.28 kB / 0.6115 GB, free: 16.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.508, allocations: 23.72 kB / 0.6115 GB, free: 16.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.508, allocations: 19.73 kB / 0.6116 GB, free: 16.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004227/0.5084, allocations: 346.5 kB / 0.6119 GB, free: 16.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5084, allocations: 0 / 0.6119 GB, free: 16.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001197/0.5096, allocations: 339.5 kB / 0.6122 GB, free: 16.51 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 (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.0006644/0.5103, allocations: 305.4 kB / 0.6125 GB, free: 16.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002171/0.5125, allocations: 1.002 MB / 0.6135 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5125, allocations: 0.9688 kB / 0.6135 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00065/0.5132, allocations: 333.5 kB / 0.6138 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.5147, allocations: 255.9 kB / 0.614 GB, free: 15.67 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.517, allocations: 1.377 MB / 0.6154 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.5176, allocations: 0.8817 MB / 0.6162 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005934/0.5182, allocations: 138.9 kB / 0.6164 GB, free: 14.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.5183, allocations: 43.53 kB / 0.6164 GB, free: 14.12 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5183, allocations: 4 kB / 0.6164 GB, free: 14.12 MB / 462.1 MB Notification: Performance of Templates: time 0.02018/0.5385, allocations: 11 MB / 0.6272 GB, free: 8.699 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)