Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008548/0.0008545, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007033/0.007034, allocations: 169.4 kB / 16.26 MB, free: 6.332 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.483/1.483, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003485, allocations: 8.5 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1971, allocations: 82.3 MB / 0.588 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.4838/0.6809, allocations: 74.98 MB / 0.6612 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03029/0.7113, allocations: 19.84 MB / 0.6806 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005101/0.7164, allocations: 70.53 kB / 0.6806 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003967/0.7204, allocations: 0.8011 MB / 0.6814 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.7317, allocations: 2.628 MB / 0.684 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006746/0.7385, allocations: 1.894 MB / 0.6858 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01188/0.7504, allocations: 6.724 MB / 0.6924 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003651/0.7541, allocations: 1.363 MB / 0.6937 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007201/0.7613, allocations: 1.762 MB / 0.6955 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005539/0.7669, allocations: 1.428 MB / 0.6968 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006656/0.7676, allocations: 74.16 kB / 0.6969 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006981/0.7746, allocations: 1.787 MB / 0.6987 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008039/0.7754, allocations: 363.2 kB / 0.699 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002356/0.7778, allocations: 0.9857 MB / 0.7 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009338/0.7872, allocations: 3.336 MB / 0.7032 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.7872, allocations: 0.7812 kB / 0.7032 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.116e-06/0.7872, allocations: 0 / 0.7032 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001166/0.7874, allocations: 0.9375 kB / 0.7032 GB, free: 13.96 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.008251/0.7956, allocations: 2.13 MB / 0.7053 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.921e-05/0.7957, allocations: 8.812 kB / 0.7053 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00332/0.799, allocations: 440 kB / 0.7057 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005754/0.8048, allocations: 1.789 MB / 0.7075 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.805, allocations: 93.47 kB / 0.7076 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/0.8053, allocations: 122.1 kB / 0.7077 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003347/0.8087, allocations: 1.446 MB / 0.7091 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.8087, allocations: 2.25 kB / 0.7091 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.8089, allocations: 61.22 kB / 0.7092 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.8089, allocations: 32.16 kB / 0.7092 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.8115, allocations: 1.096 MB / 0.7103 GB, free: 9.812 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.01069/0.8222, allocations: 7.865 MB / 0.7179 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003712/0.826, allocations: 1.079 MB / 0.719 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009292/0.8269, allocations: 450.8 kB / 0.7194 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002114/0.829, allocations: 1.868 MB / 0.7213 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.8303, allocations: 0.5091 MB / 0.7218 GB, free: 15.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=84): time 5.13e-06/0.8303, allocations: 3.938 kB / 0.7218 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=84): time 0.003612/0.834, allocations: 1.296 MB / 0.723 GB, free: 14.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.834, allocations: 90.89 kB / 0.7231 GB, free: 14.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.8363, allocations: 1.377 MB / 0.7245 GB, free: 13.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.8364, allocations: 44.3 kB / 0.7245 GB, free: 13.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008025/0.8372, allocations: 0.8176 MB / 0.7253 GB, free: 13.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/0.8376, allocations: 308.5 kB / 0.7256 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.8378, allocations: 81.7 kB / 0.7257 GB, free: 12.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.8379, allocations: 348 kB / 0.726 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008118/0.8387, allocations: 373 kB / 0.7264 GB, free: 12.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.8399, allocations: 0.6882 MB / 0.727 GB, free: 11.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.8418, allocations: 1.082 MB / 0.7281 GB, free: 10.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.8418, allocations: 0.5625 kB / 0.7281 GB, free: 10.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002579/0.8444, allocations: 1.27 MB / 0.7293 GB, free: 9.938 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002711/0.8447, allocations: 357.3 kB / 0.7297 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.8447, allocations: 12 kB / 0.7297 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/0.8448, allocations: 16 kB / 0.7297 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009333/0.8457, allocations: 255.6 kB / 0.7299 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.571e-05/0.8457, allocations: 23.12 kB / 0.73 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.8474, allocations: 190.8 kB / 0.7301 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.8475, allocations: 59.92 kB / 0.7302 GB, free: 8.918 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.8475, allocations: 0 / 0.7302 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002111/0.8496, allocations: 1.093 MB / 0.7313 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.8497, allocations: 12 kB / 0.7313 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.8497, allocations: 16 kB / 0.7313 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008621/0.8506, allocations: 256 kB / 0.7315 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/0.8506, allocations: 19.92 kB / 0.7316 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.8519, allocations: 175 kB / 0.7317 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-05/0.852, allocations: 55.98 kB / 0.7318 GB, free: 7.305 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 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009378/0.8529, allocations: 447.5 kB / 0.7322 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.8532, allocations: 173.9 kB / 0.7324 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002933/0.8561, allocations: 1.477 MB / 0.7338 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/0.8561, allocations: 15.98 kB / 0.7338 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.8562, allocations: 0 / 0.7338 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002/0.8582, allocations: 1.121 MB / 0.7349 GB, free: 4.059 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.005004/0.8632, allocations: 2.953 MB / 0.7378 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.8632, allocations: 4 kB / 0.7378 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007851/0.864, allocations: 187.9 kB / 0.738 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.864, allocations: 4 kB / 0.738 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/0.8641, allocations: 31.97 kB / 0.738 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.8641, allocations: 4 kB / 0.738 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8641, allocations: 4 kB / 0.738 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/0.8675, allocations: 1.935 MB / 0.7399 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008735/0.8684, allocations: 406.5 kB / 0.7403 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.8686, allocations: 28.12 kB / 0.7403 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.8697, allocations: 123.9 kB / 0.7404 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.8698, allocations: 80.83 kB / 0.7405 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.155e-05/0.8699, allocations: 43.97 kB / 0.7406 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001423/0.8714, allocations: 0.9279 MB / 0.7415 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8714, allocations: 0 / 0.7415 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002947/0.8743, allocations: 0.9822 MB / 0.7424 GB, free: 12.24 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002213/0.8765, allocations: 0.9639 MB / 0.7434 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003398/0.88, allocations: 1.719 MB / 0.7451 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.88, allocations: 3.906 kB / 0.7451 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.8811, allocations: 0.6229 MB / 0.7457 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004156/0.8852, allocations: 0.7453 MB / 0.7464 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007869/0.8931, allocations: 4.041 MB / 0.7503 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009223/0.8941, allocations: 1.33 MB / 0.7516 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002076/0.8961, allocations: 456 kB / 0.7521 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.8966, allocations: 159.3 kB / 0.7522 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/0.8966, allocations: 0 / 0.7522 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of Templates: time 0.06385/0.9604, allocations: 33.6 MB / 0.785 GB, free: 1.188 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)