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.001023/0.001023, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001033/0.001033, allocations: 172.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.55/1.55, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.028/1.028, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 12.84 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 82.3 MB / 0.5874 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.4514/0.6563, allocations: 70.89 MB / 0.6566 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02878/0.6851, allocations: 18.72 MB / 0.6749 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004706/0.6899, allocations: 75.16 kB / 0.675 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0038/0.6937, allocations: 0.6878 MB / 0.6756 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.7046, allocations: 2.267 MB / 0.6778 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006447/0.7111, allocations: 1.532 MB / 0.6793 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.7215, allocations: 5.777 MB / 0.685 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/0.7246, allocations: 1.235 MB / 0.6862 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00472/0.7293, allocations: 1.685 MB / 0.6878 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003339/0.7327, allocations: 1.343 MB / 0.6891 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003268/0.733, allocations: 77.97 kB / 0.6892 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/0.7378, allocations: 1.388 MB / 0.6906 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/0.7383, allocations: 342.1 kB / 0.6909 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009596/0.7393, allocations: 416.7 kB / 0.6913 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004853/0.7441, allocations: 2.466 MB / 0.6937 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.7442, allocations: 0 / 0.6937 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7442, allocations: 1.438 kB / 0.6937 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.41e-05/0.7442, allocations: 0 / 0.6937 GB, free: 4.648 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.005819/0.7501, allocations: 2.156 MB / 0.6958 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.7501, allocations: 9.281 kB / 0.6958 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.7521, allocations: 433.7 kB / 0.6962 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003981/0.7561, allocations: 1.725 MB / 0.6979 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.7562, allocations: 93.38 kB / 0.698 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.7564, allocations: 122.5 kB / 0.6981 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.7595, allocations: 1.439 MB / 0.6995 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.7595, allocations: 1.562 kB / 0.6995 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.7597, allocations: 52.83 kB / 0.6996 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.405e-05/0.7597, allocations: 40.5 kB / 0.6996 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/0.7622, allocations: 1.086 MB / 0.7007 GB, free: 0.9492 MB / 0.5137 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.01053/0.7727, allocations: 7.858 MB / 0.7083 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.7761, allocations: 1.074 MB / 0.7094 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008821/0.777, allocations: 440.1 kB / 0.7098 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001835/0.7788, allocations: 1.878 MB / 0.7117 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.78, allocations: 0.5076 MB / 0.7121 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=84): time 3.176e-06/0.78, allocations: 0 / 0.7121 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84): time 0.003218/0.7832, allocations: 1.292 MB / 0.7134 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.7833, allocations: 89.16 kB / 0.7135 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.7856, allocations: 1.365 MB / 0.7148 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.7857, allocations: 43.64 kB / 0.7149 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007639/0.7865, allocations: 0.8221 MB / 0.7157 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/0.7869, allocations: 293.9 kB / 0.716 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.7869, allocations: 21 kB / 0.716 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.7871, allocations: 347.3 kB / 0.7163 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007922/0.7879, allocations: 368.8 kB / 0.7167 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.789, allocations: 0.6807 MB / 0.7173 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009233/0.7899, allocations: 457.7 kB / 0.7178 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.7899, allocations: 2.938 kB / 0.7178 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002598/0.7925, allocations: 1.249 MB / 0.719 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002492/0.7928, allocations: 376.1 kB / 0.7193 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.7928, allocations: 14.73 kB / 0.7194 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.7929, allocations: 15.06 kB / 0.7194 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.7938, allocations: 257.5 kB / 0.7196 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/0.7938, allocations: 21.05 kB / 0.7196 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.7955, allocations: 189.1 kB / 0.7198 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.7956, allocations: 57.75 kB / 0.7199 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.7956, allocations: 5.844 kB / 0.7199 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001917/0.7975, allocations: 1.08 MB / 0.7209 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.7975, allocations: 13.89 kB / 0.7209 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7976, allocations: 16.53 kB / 0.721 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/0.7984, allocations: 262.3 kB / 0.7212 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.854e-05/0.7984, allocations: 27.94 kB / 0.7212 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.7998, allocations: 170.8 kB / 0.7214 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/0.7999, allocations: 57.22 kB / 0.7214 GB, free: 0.7109 MB / 0.5294 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.0009309/0.8009, allocations: 453.7 kB / 0.7219 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/0.8012, allocations: 167 kB / 0.722 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.804, allocations: 1.473 MB / 0.7235 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/0.804, allocations: 13.89 kB / 0.7235 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.804, allocations: 3.953 kB / 0.7235 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001847/0.8059, allocations: 1.111 MB / 0.7246 GB, free: 14.64 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.005769/0.8117, allocations: 2.938 MB / 0.7275 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/0.8117, allocations: 11.98 kB / 0.7275 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008317/0.8125, allocations: 187.9 kB / 0.7276 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.8126, allocations: 4 kB / 0.7276 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.8126, allocations: 27.98 kB / 0.7277 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.8126, allocations: 4 kB / 0.7277 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.8127, allocations: 7.922 kB / 0.7277 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003532/0.8162, allocations: 1.923 MB / 0.7296 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.8174, allocations: 406.5 kB / 0.7299 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.8176, allocations: 20 kB / 0.73 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.8187, allocations: 131.8 kB / 0.7301 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.8188, allocations: 72.91 kB / 0.7302 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.901e-05/0.8189, allocations: 43.97 kB / 0.7302 GB, free: 8.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001588/0.8205, allocations: 0.9162 MB / 0.7311 GB, free: 7.844 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8206, allocations: 0 / 0.7311 GB, free: 7.844 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003365/0.8239, allocations: 0.9744 MB / 0.7321 GB, free: 6.867 MB / 0.545 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.002525/0.8265, allocations: 0.9437 MB / 0.733 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003621/0.8301, allocations: 1.704 MB / 0.7346 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.8301, allocations: 4.25 kB / 0.7346 GB, free: 4.402 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.8313, allocations: 0.6182 MB / 0.7352 GB, free: 3.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004261/0.8355, allocations: 0.7578 MB / 0.736 GB, free: 3.023 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007989/0.8435, allocations: 3.978 MB / 0.7399 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/0.8445, allocations: 1.327 MB / 0.7412 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00215/0.8467, allocations: 448.6 kB / 0.7416 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/0.8471, allocations: 163.3 kB / 0.7417 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of SimCode: time 1.543e-06/0.8471, allocations: 4 kB / 0.7418 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.06277/0.9099, allocations: 32.76 MB / 0.7737 GB, free: 12.75 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)