Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00786/0.00786, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.00169/0.00169, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.95/0.95, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 0.5856 GB, free: 3.301 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.4721, allocations: 80.92 MB / 0.6647 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.02015/0.4922, allocations: 20.83 MB / 0.685 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009058/0.5013, allocations: 5.386 MB / 0.6903 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.5024, allocations: 21.66 kB / 0.6903 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.5035, allocations: 352.4 kB / 0.6906 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.5062, allocations: 0.9633 MB / 0.6916 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.5089, allocations: 0.9373 MB / 0.6925 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002497/0.5114, allocations: 1.735 MB / 0.6942 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000769/0.5121, allocations: 0.4928 MB / 0.6946 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002574/0.5147, allocations: 0.7175 MB / 0.6953 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.516, allocations: 498.6 kB / 0.6958 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.5162, allocations: 41.62 kB / 0.6959 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.5195, allocations: 1.126 MB / 0.697 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.5197, allocations: 140.5 kB / 0.6971 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00067/0.5204, allocations: 325.4 kB / 0.6974 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.5231, allocations: 1.218 MB / 0.6986 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.5231, allocations: 1.562 kB / 0.6986 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5231, allocations: 0 / 0.6986 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.818e-05/0.5232, allocations: 4 kB / 0.6986 GB, free: 13.06 MB / 0.5294 GB 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.002203/0.5254, allocations: 1.043 MB / 0.6996 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.5254, allocations: 9.375 kB / 0.6996 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.5265, allocations: 179.3 kB / 0.6998 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.5279, allocations: 0.5921 MB / 0.7004 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.5279, allocations: 29.94 kB / 0.7004 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-05/0.528, allocations: 41.62 kB / 0.7004 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.5291, allocations: 0.4893 MB / 0.7009 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.5291, allocations: 0 / 0.7009 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.444e-05/0.5292, allocations: 17 kB / 0.7009 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.5292, allocations: 13.22 kB / 0.701 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.5303, allocations: 405.1 kB / 0.7013 GB, free: 11.09 MB / 0.5294 GB 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.003238/0.5335, allocations: 2.28 MB / 0.7036 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.5346, allocations: 362.1 kB / 0.7039 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/0.5351, allocations: 224 kB / 0.7041 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002893/0.5354, allocations: 342.7 kB / 0.7045 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006358/0.5361, allocations: 296.7 kB / 0.7047 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 3.317e-06/0.5361, allocations: 4 kB / 0.7047 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002314/0.5384, allocations: 0.8542 MB / 0.7056 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.5385, allocations: 89.11 kB / 0.7057 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005716/0.539, allocations: 495 kB / 0.7061 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.5391, allocations: 29.7 kB / 0.7062 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.5393, allocations: 276.4 kB / 0.7064 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.5394, allocations: 114.5 kB / 0.7065 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.5396, allocations: 77.34 kB / 0.7066 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5397, allocations: 366.7 kB / 0.707 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.5402, allocations: 184.5 kB / 0.7071 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.5407, allocations: 253.3 kB / 0.7074 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009738/0.5417, allocations: 462 kB / 0.7078 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5417, allocations: 4 kB / 0.7078 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001488/0.5432, allocations: 0.614 MB / 0.7084 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.5433, allocations: 35.89 kB / 0.7085 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5433, allocations: 3.938 kB / 0.7085 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/0.5437, allocations: 76.8 kB / 0.7085 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.544, allocations: 76.05 kB / 0.7086 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005042/0.5446, allocations: 0.5953 MB / 0.7092 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.5451, allocations: 55.72 kB / 0.7092 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/0.5452, allocations: 23.97 kB / 0.7093 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006216/0.5458, allocations: 313.5 kB / 0.7096 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005416/0.5464, allocations: 257.4 kB / 0.7098 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009913/0.5474, allocations: 464.8 kB / 0.7102 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.5474, allocations: 0 / 0.7102 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.00137/0.5488, allocations: 0.5887 MB / 0.7108 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.5488, allocations: 37.86 kB / 0.7109 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5488, allocations: 4 kB / 0.7109 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.549, allocations: 52.77 kB / 0.7109 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.5494, allocations: 79.81 kB / 0.711 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.551, allocations: 1.806 MB / 0.7127 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005589/0.5516, allocations: 59.67 kB / 0.7128 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.5517, allocations: 15.98 kB / 0.7128 GB, free: 15.32 MB / 0.545 GB 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.0002375/0.5519, allocations: 242.5 kB / 0.7131 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.5521, allocations: 63.36 kB / 0.7131 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.5536, allocations: 0.6312 MB / 0.7137 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.5536, allocations: 4 kB / 0.7137 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.5536, allocations: 0 / 0.7137 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/0.5549, allocations: 0.7985 MB / 0.7145 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.5574, allocations: 1.309 MB / 0.7158 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5574, allocations: 0 / 0.7158 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.5578, allocations: 55.95 kB / 0.7158 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001677/0.5579, allocations: 60.84 kB / 0.7159 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.558, allocations: 11.98 kB / 0.7159 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004113/0.5584, allocations: 0.5757 MB / 0.7165 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5584, allocations: 0 / 0.7165 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.5604, allocations: 0.9537 MB / 0.7174 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.5607, allocations: 180.3 kB / 0.7176 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.5608, allocations: 11.94 kB / 0.7176 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005503/0.5613, allocations: 40.02 kB / 0.7176 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.5614, allocations: 31.84 kB / 0.7177 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.5615, allocations: 19.98 kB / 0.7177 GB, free: 10.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004382/0.5619, allocations: 346.8 kB / 0.718 GB, free: 9.746 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5619, allocations: 4 kB / 0.718 GB, free: 9.742 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001211/0.5632, allocations: 335.5 kB / 0.7183 GB, free: 9.414 MB / 0.545 GB 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.0008206/0.564, allocations: 302.8 kB / 0.7186 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002273/0.5663, allocations: 0.974 MB / 0.7196 GB, free: 8.105 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.5663, allocations: 0 / 0.7196 GB, free: 8.105 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007014/0.567, allocations: 319.9 kB / 0.7199 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.5682, allocations: 225.8 kB / 0.7201 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.5707, allocations: 1.118 MB / 0.7212 GB, free: 6.406 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.5712, allocations: 0.8784 MB / 0.722 GB, free: 5.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005174/0.5718, allocations: 124.4 kB / 0.7222 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.5719, allocations: 47.41 kB / 0.7222 GB, free: 5.328 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.5719, allocations: 3.938 kB / 0.7222 GB, free: 5.324 MB / 0.545 GB Notification: Performance of Templates: time 0.02168/0.5936, allocations: 11.36 MB / 0.7333 GB, free: 10.1 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)