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.001245/0.001245, allocations: 108.6 kB / 17.03 MB, free: 5.656 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.001398/0.001398, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.277/1.277, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6838/0.6838, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3393, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.01916/0.3585, allocations: 20.81 MB / 0.5779 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007943/0.3665, allocations: 5.39 MB / 0.5831 GB, free: 18.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.3676, allocations: 27.5 kB / 0.5832 GB, free: 18.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.3687, allocations: 347.8 kB / 0.5835 GB, free: 17.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.3716, allocations: 0.9205 MB / 0.5844 GB, free: 17.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.3745, allocations: 0.9372 MB / 0.5853 GB, free: 16.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002852/0.3774, allocations: 1.743 MB / 0.587 GB, free: 16.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000825/0.3782, allocations: 495.3 kB / 0.5875 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.3802, allocations: 0.6983 MB / 0.5882 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007554/0.381, allocations: 0.4901 MB / 0.5886 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.38e-05/0.3811, allocations: 40.62 kB / 0.5887 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.3837, allocations: 1.126 MB / 0.5898 GB, free: 15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.3838, allocations: 144.4 kB / 0.5899 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.3842, allocations: 333.2 kB / 0.5902 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.3862, allocations: 1.226 MB / 0.5914 GB, free: 14.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3862, allocations: 0 / 0.5914 GB, free: 14.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3862, allocations: 0 / 0.5914 GB, free: 14.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.3862, allocations: 0 / 0.5914 GB, free: 14.05 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.00145/0.3877, allocations: 1.053 MB / 0.5925 GB, free: 13.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3877, allocations: 9.312 kB / 0.5925 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008118/0.3886, allocations: 174.5 kB / 0.5926 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.3896, allocations: 0.5851 MB / 0.5932 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.3896, allocations: 34.44 kB / 0.5932 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/0.3897, allocations: 41 kB / 0.5933 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008179/0.3905, allocations: 496.1 kB / 0.5938 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3906, allocations: 1.312 kB / 0.5938 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.3906, allocations: 16.09 kB / 0.5938 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.3906, allocations: 9.688 kB / 0.5938 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008494/0.3915, allocations: 406.5 kB / 0.5942 GB, free: 12.09 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.002444/0.3939, allocations: 2.28 MB / 0.5964 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008621/0.3948, allocations: 368.9 kB / 0.5968 GB, free: 9.828 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.3952, allocations: 223.7 kB / 0.597 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.3955, allocations: 347.6 kB / 0.5973 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005597/0.396, allocations: 299.5 kB / 0.5976 GB, free: 9.129 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.805e-06/0.396, allocations: 0 / 0.5976 GB, free: 9.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.001998/0.398, allocations: 0.851 MB / 0.5984 GB, free: 8.645 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.3981, allocations: 90.25 kB / 0.5985 GB, free: 8.543 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.3986, allocations: 494.2 kB / 0.599 GB, free: 8.254 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.3986, allocations: 33.33 kB / 0.599 GB, free: 8.219 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.3988, allocations: 275.4 kB / 0.5993 GB, free: 7.977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.3988, allocations: 112.5 kB / 0.5994 GB, free: 7.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.399, allocations: 71.47 kB / 0.5994 GB, free: 7.836 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.399, allocations: 366.7 kB / 0.5998 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.3994, allocations: 179.8 kB / 0.6 GB, free: 7.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/0.3999, allocations: 264.2 kB / 0.6002 GB, free: 7.211 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007972/0.4007, allocations: 465.3 kB / 0.6007 GB, free: 6.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4007, allocations: 1.219 kB / 0.6007 GB, free: 6.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001225/0.402, allocations: 0.6166 MB / 0.6013 GB, free: 6.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.402, allocations: 43.19 kB / 0.6013 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.402, allocations: 2.062 kB / 0.6013 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/0.4023, allocations: 75.39 kB / 0.6014 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.4027, allocations: 78.22 kB / 0.6015 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003499/0.4031, allocations: 0.5965 MB / 0.602 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.4035, allocations: 64.7 kB / 0.6021 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.4036, allocations: 20.03 kB / 0.6021 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005254/0.4041, allocations: 308.6 kB / 0.6024 GB, free: 5.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004359/0.4046, allocations: 263.2 kB / 0.6027 GB, free: 5.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007648/0.4054, allocations: 458 kB / 0.6031 GB, free: 5.176 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.4054, allocations: 0 / 0.6031 GB, free: 5.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0009951/0.4064, allocations: 0.5848 MB / 0.6037 GB, free: 4.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.4064, allocations: 41.69 kB / 0.6037 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4064, allocations: 4 kB / 0.6037 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.4066, allocations: 48.98 kB / 0.6038 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.4069, allocations: 75.88 kB / 0.6038 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.4081, allocations: 1.802 MB / 0.6056 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.4086, allocations: 55.81 kB / 0.6056 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.4087, allocations: 15.98 kB / 0.6057 GB, free: 2.375 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.0001953/0.4089, allocations: 245.8 kB / 0.6059 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.381e-05/0.409, allocations: 55.34 kB / 0.6059 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.4101, allocations: 0.6409 MB / 0.6066 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.4102, allocations: 3.984 kB / 0.6066 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.4102, allocations: 4 kB / 0.6066 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009698/0.4111, allocations: 0.7981 MB / 0.6074 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.4131, allocations: 1.292 MB / 0.6086 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4131, allocations: 0 / 0.6086 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.4134, allocations: 59.94 kB / 0.6087 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.4136, allocations: 48.78 kB / 0.6087 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.4136, allocations: 19.95 kB / 0.6087 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003356/0.414, allocations: 0.5797 MB / 0.6093 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.414, allocations: 0 / 0.6093 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.4157, allocations: 0.969 MB / 0.6103 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.4159, allocations: 180.3 kB / 0.6104 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.416, allocations: 8 kB / 0.6104 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/0.4165, allocations: 44.08 kB / 0.6105 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.4165, allocations: 27.86 kB / 0.6105 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.4166, allocations: 23.97 kB / 0.6105 GB, free: 13.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003578/0.417, allocations: 342.9 kB / 0.6109 GB, free: 12.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.417, allocations: 0 / 0.6109 GB, free: 12.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001015/0.418, allocations: 339.4 kB / 0.6112 GB, free: 12.45 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.0006453/0.4186, allocations: 303.3 kB / 0.6115 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.4205, allocations: 0.9673 MB / 0.6124 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4205, allocations: 4.062 kB / 0.6124 GB, free: 11.15 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005629/0.4211, allocations: 327.2 kB / 0.6127 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/0.4221, allocations: 218.7 kB / 0.6129 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.4241, allocations: 1.114 MB / 0.614 GB, free: 9.473 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.4245, allocations: 0.8745 MB / 0.6149 GB, free: 8.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004129/0.4249, allocations: 130.5 kB / 0.615 GB, free: 8.441 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.425, allocations: 47.42 kB / 0.615 GB, free: 8.395 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4251, allocations: 8 kB / 0.6151 GB, free: 8.387 MB / 462.1 MB Notification: Performance of Templates: time 0.01732/0.4424, allocations: 11.3 MB / 0.6261 GB, free: 13.24 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)