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.001259/0.001259, allocations: 106.2 kB / 16.52 MB, free: 6.723 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.001223/0.001223, allocations: 195.2 kB / 17.45 MB, free: 6.051 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.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7266/0.7266, allocations: 115.3 MB / 406.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.89 kB / 493.6 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4196, allocations: 76.17 MB / 0.5564 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.01974/0.4394, allocations: 20.73 MB / 0.5766 GB, free: 21.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008088/0.4476, allocations: 5.471 MB / 0.582 GB, free: 17.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.4488, allocations: 24.03 kB / 0.582 GB, free: 17.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.45, allocations: 285.4 kB / 0.5822 GB, free: 17.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.4527, allocations: 0.8571 MB / 0.5831 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.4557, allocations: 0.8113 MB / 0.5839 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003653/0.4593, allocations: 2.305 MB / 0.5861 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009138/0.4603, allocations: 435.2 kB / 0.5865 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.4618, allocations: 0.6187 MB / 0.5871 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009059/0.4627, allocations: 0.4902 MB / 0.5876 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.444e-05/0.4628, allocations: 27.19 kB / 0.5877 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.4656, allocations: 1.096 MB / 0.5887 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.4659, allocations: 133.4 kB / 0.5888 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.4664, allocations: 305.8 kB / 0.5891 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.4683, allocations: 0.8663 MB / 0.59 GB, free: 14.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4683, allocations: 1.125 kB / 0.59 GB, free: 14.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.4683, allocations: 0 / 0.59 GB, free: 14.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.4683, allocations: 0 / 0.59 GB, free: 14.1 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.002087/0.4704, allocations: 1.049 MB / 0.591 GB, free: 13.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4704, allocations: 13.28 kB / 0.591 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009631/0.4714, allocations: 178.5 kB / 0.5912 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.4725, allocations: 0.559 MB / 0.5917 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003193/0.4729, allocations: 85.95 kB / 0.5918 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-05/0.4729, allocations: 38.81 kB / 0.5919 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.474, allocations: 0.4945 MB / 0.5923 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.474, allocations: 5.078 kB / 0.5923 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/0.4741, allocations: 16.88 kB / 0.5924 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.4741, allocations: 16.5 kB / 0.5924 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.4752, allocations: 412.5 kB / 0.5928 GB, free: 12.18 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.002811/0.478, allocations: 2.281 MB / 0.595 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.4791, allocations: 377.8 kB / 0.5954 GB, free: 9.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.4796, allocations: 235.3 kB / 0.5956 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/0.4798, allocations: 338.4 kB / 0.5959 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006117/0.4805, allocations: 309.6 kB / 0.5962 GB, free: 9.227 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.424e-06/0.4805, allocations: 0 / 0.5962 GB, free: 9.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002213/0.4827, allocations: 0.8599 MB / 0.597 GB, free: 8.742 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.4827, allocations: 85.55 kB / 0.5971 GB, free: 8.645 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005457/0.4833, allocations: 0.4913 MB / 0.5976 GB, free: 8.348 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.4833, allocations: 37.61 kB / 0.5976 GB, free: 8.309 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.4835, allocations: 279.4 kB / 0.5979 GB, free: 8.062 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.093e-05/0.4836, allocations: 108.1 kB / 0.598 GB, free: 7.969 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.4837, allocations: 75.25 kB / 0.5981 GB, free: 7.922 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.4838, allocations: 359.2 kB / 0.5984 GB, free: 7.574 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.4843, allocations: 182.7 kB / 0.5986 GB, free: 7.488 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.4848, allocations: 271.7 kB / 0.5989 GB, free: 7.301 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009054/0.4857, allocations: 485.1 kB / 0.5993 GB, free: 6.996 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4857, allocations: 1.094 kB / 0.5993 GB, free: 6.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00145/0.4872, allocations: 0.6224 MB / 0.5999 GB, free: 6.668 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.4872, allocations: 41.73 kB / 0.6 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4872, allocations: 2.344 kB / 0.6 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/0.4876, allocations: 66.11 kB / 0.6 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003748/0.488, allocations: 88.47 kB / 0.6001 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003588/0.4884, allocations: 0.5883 MB / 0.6007 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/0.489, allocations: 78.19 kB / 0.6008 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.489, allocations: 18.12 kB / 0.6008 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005841/0.4896, allocations: 315.2 kB / 0.6011 GB, free: 5.766 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000475/0.4901, allocations: 261.9 kB / 0.6013 GB, free: 5.586 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008813/0.491, allocations: 474.3 kB / 0.6018 GB, free: 5.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.491, allocations: 0 / 0.6018 GB, free: 5.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001291/0.4923, allocations: 0.5958 MB / 0.6024 GB, free: 4.977 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.4923, allocations: 34.36 kB / 0.6024 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.4924, allocations: 5.312 kB / 0.6024 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00015/0.4925, allocations: 47.52 kB / 0.6025 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.4929, allocations: 82.47 kB / 0.6025 GB, free: 4.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.494, allocations: 1.646 MB / 0.6041 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005953/0.4946, allocations: 75.72 kB / 0.6042 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.4946, allocations: 16 kB / 0.6042 GB, free: 2.957 MB / 446.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.0001923/0.4948, allocations: 240.6 kB / 0.6045 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-05/0.4949, allocations: 55.34 kB / 0.6045 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.4962, allocations: 0.6481 MB / 0.6051 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.4962, allocations: 4 kB / 0.6051 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.4962, allocations: 0 / 0.6051 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001046/0.4973, allocations: 0.8059 MB / 0.6059 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.4994, allocations: 1.319 MB / 0.6072 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4994, allocations: 0 / 0.6072 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.4997, allocations: 64.05 kB / 0.6073 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.4999, allocations: 44.77 kB / 0.6073 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.4999, allocations: 12 kB / 0.6073 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000367/0.5003, allocations: 0.5719 MB / 0.6079 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5003, allocations: 4.031 kB / 0.6079 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.5023, allocations: 0.9873 MB / 0.6089 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/0.5027, allocations: 176.3 kB / 0.609 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.5028, allocations: 19.98 kB / 0.609 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006383/0.5035, allocations: 63.86 kB / 0.6091 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.5035, allocations: 23.94 kB / 0.6091 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/0.5036, allocations: 27.97 kB / 0.6092 GB, free: 13.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000449/0.5041, allocations: 342.9 kB / 0.6095 GB, free: 13.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5041, allocations: 0 / 0.6095 GB, free: 13.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001328/0.5054, allocations: 343.4 kB / 0.6098 GB, free: 12.96 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.0008907/0.5063, allocations: 296.5 kB / 0.6101 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.5085, allocations: 0.9742 MB / 0.611 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5085, allocations: 3.938 kB / 0.6111 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006493/0.5092, allocations: 328.1 kB / 0.6114 GB, free: 11.33 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.5107, allocations: 235 kB / 0.6116 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.5131, allocations: 1.356 MB / 0.6129 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.5136, allocations: 0.8784 MB / 0.6138 GB, free: 8.809 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.5138, allocations: 51.41 kB / 0.6138 GB, free: 8.758 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5138, allocations: 0 / 0.6138 GB, free: 8.758 MB / 462.1 MB Notification: Performance of Templates: time 0.01705/0.5308, allocations: 11.51 MB / 0.6251 GB, free: 13.34 MB / 478.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)