Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009112/0.0009112, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001139/0.001139, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7347/0.7347, allocations: 132.4 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002893, allocations: 12.56 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3598, allocations: 81.57 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.06844/0.4283, allocations: 70.9 MB / 0.6523 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02359/0.4519, allocations: 18.73 MB / 0.6706 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/0.4548, allocations: 71.5 kB / 0.6707 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.4573, allocations: 0.6831 MB / 0.6713 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006432/0.4638, allocations: 2.276 MB / 0.6736 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004454/0.4682, allocations: 1.533 MB / 0.6751 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006753/0.475, allocations: 5.777 MB / 0.6807 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.4774, allocations: 1.236 MB / 0.6819 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00353/0.481, allocations: 1.68 MB / 0.6835 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.4833, allocations: 1.349 MB / 0.6849 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003735/0.4837, allocations: 72 kB / 0.6849 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003513/0.4872, allocations: 1.384 MB / 0.6863 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005081/0.4877, allocations: 342.3 kB / 0.6866 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006844/0.4884, allocations: 424.6 kB / 0.687 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.4915, allocations: 2.459 MB / 0.6894 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4915, allocations: 0 / 0.6894 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4915, allocations: 0 / 0.6894 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.633e-05/0.4916, allocations: 0 / 0.6894 GB, free: 3.449 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.003737/0.4953, allocations: 2.153 MB / 0.6915 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.4954, allocations: 8.031 kB / 0.6915 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.497, allocations: 449 kB / 0.692 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.4999, allocations: 1.72 MB / 0.6936 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/0.5, allocations: 98.44 kB / 0.6937 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.5001, allocations: 120 kB / 0.6938 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.5024, allocations: 1.434 MB / 0.6952 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.5025, allocations: 8 kB / 0.6953 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.5026, allocations: 55.94 kB / 0.6953 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.5026, allocations: 32 kB / 0.6953 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.5047, allocations: 1.086 MB / 0.6964 GB, free: 12.08 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.007098/0.5118, allocations: 7.868 MB / 0.7041 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.515, allocations: 1.078 MB / 0.7051 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007866/0.5158, allocations: 439.9 kB / 0.7056 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/0.5173, allocations: 1.868 MB / 0.7074 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009606/0.5182, allocations: 0.5023 MB / 0.7079 GB, free: 15.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 2.344e-06/0.5182, allocations: 0 / 0.7079 GB, free: 15.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=84): time 0.002567/0.5208, allocations: 1.293 MB / 0.7091 GB, free: 14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.5209, allocations: 85.77 kB / 0.7092 GB, free: 13.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.5225, allocations: 1.375 MB / 0.7106 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.448e-05/0.5226, allocations: 41.7 kB / 0.7106 GB, free: 12.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005978/0.5232, allocations: 0.8178 MB / 0.7114 GB, free: 11.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.5234, allocations: 299.8 kB / 0.7117 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.5235, allocations: 20 kB / 0.7117 GB, free: 11.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5236, allocations: 349.9 kB / 0.712 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/0.5244, allocations: 366.4 kB / 0.7124 GB, free: 10.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009476/0.5253, allocations: 0.6831 MB / 0.713 GB, free: 9.801 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/0.5262, allocations: 454.8 kB / 0.7135 GB, free: 9.355 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.5262, allocations: 4 kB / 0.7135 GB, free: 9.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002184/0.5284, allocations: 1.249 MB / 0.7147 GB, free: 8.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.5286, allocations: 362 kB / 0.7151 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.5286, allocations: 12 kB / 0.7151 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.5287, allocations: 19.98 kB / 0.7151 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009038/0.5296, allocations: 251.6 kB / 0.7153 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.5296, allocations: 19.92 kB / 0.7153 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.5306, allocations: 194.7 kB / 0.7155 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/0.5307, allocations: 59.92 kB / 0.7156 GB, free: 7.066 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.841e-06/0.5307, allocations: 6.188 kB / 0.7156 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001977/0.5327, allocations: 1.078 MB / 0.7166 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.5328, allocations: 23.97 kB / 0.7167 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.5328, allocations: 19.98 kB / 0.7167 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008792/0.5337, allocations: 255.5 kB / 0.7169 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.5337, allocations: 23.98 kB / 0.717 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000931/0.5346, allocations: 179 kB / 0.7171 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.628e-05/0.5347, allocations: 59.97 kB / 0.7172 GB, free: 5.434 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005077/0.5352, allocations: 440.8 kB / 0.7176 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.5354, allocations: 173.9 kB / 0.7178 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/0.5382, allocations: 1.471 MB / 0.7192 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.5382, allocations: 15.98 kB / 0.7192 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5382, allocations: 0 / 0.7192 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001866/0.5401, allocations: 1.113 MB / 0.7203 GB, free: 2.203 MB / 0.545 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 postOpt removeSimpleEquations (simulation): time 0.004175/0.5443, allocations: 2.938 MB / 0.7232 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.5443, allocations: 4 kB / 0.7232 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.5451, allocations: 187.8 kB / 0.7234 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.5451, allocations: 8 kB / 0.7234 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/0.5452, allocations: 27.98 kB / 0.7234 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.5452, allocations: 7.938 kB / 0.7234 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5452, allocations: 4 kB / 0.7234 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/0.5483, allocations: 1.919 MB / 0.7253 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/0.5488, allocations: 402.5 kB / 0.7257 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.549, allocations: 28 kB / 0.7257 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009281/0.5499, allocations: 127.8 kB / 0.7258 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.5501, allocations: 72.84 kB / 0.7259 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.178e-05/0.5502, allocations: 43.97 kB / 0.7259 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001165/0.5513, allocations: 0.9279 MB / 0.7268 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5513, allocations: 0 / 0.7268 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002166/0.5535, allocations: 0.9705 MB / 0.7278 GB, free: 10.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (pipe.del.x,pipe.timDel.x,pipe.vol_b.dynBal.U,pipe.vol_a.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001728/0.5552, allocations: 0.951 MB / 0.7287 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002875/0.5581, allocations: 1.699 MB / 0.7304 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5581, allocations: 0 / 0.7304 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009802/0.5591, allocations: 0.619 MB / 0.731 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002884/0.562, allocations: 0.7455 MB / 0.7317 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007679/0.5697, allocations: 3.986 MB / 0.7356 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.571, allocations: 1.323 MB / 0.7369 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002785/0.5738, allocations: 449.3 kB / 0.7373 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/0.5744, allocations: 171.3 kB / 0.7375 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.5744, allocations: 0 / 0.7375 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of Templates: time 0.1029/0.6773, allocations: 32.74 MB / 0.7694 GB, free: 388 kB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)