Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.000816/0.0008162, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 185.5 kB / 16.92 MB, free: 6.75 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.444/1.444, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7281/0.7281, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 8 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1832, allocations: 77.54 MB / 0.56 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.3481/0.5314, allocations: 74.98 MB / 0.6332 GB, free: 4.684 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03039/0.5618, allocations: 19.86 MB / 0.6526 GB, free: 5.125 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004209/0.5661, allocations: 70.5 kB / 0.6526 GB, free: 5.098 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003441/0.5695, allocations: 0.8037 MB / 0.6534 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008493/0.5781, allocations: 2.64 MB / 0.656 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005722/0.5838, allocations: 1.9 MB / 0.6579 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009584/0.5934, allocations: 6.723 MB / 0.6644 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0031/0.5965, allocations: 1.353 MB / 0.6658 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005697/0.6023, allocations: 1.773 MB / 0.6675 GB, free: 8.594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003789/0.6061, allocations: 1.415 MB / 0.6689 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007592/0.6069, allocations: 76 kB / 0.6689 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005044/0.6119, allocations: 1.789 MB / 0.6707 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007486/0.6127, allocations: 366.2 kB / 0.671 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002105/0.6148, allocations: 0.9885 MB / 0.672 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007069/0.6219, allocations: 3.333 MB / 0.6753 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.622, allocations: 4 kB / 0.6753 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.622, allocations: 0 / 0.6753 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001301/0.6221, allocations: 0 / 0.6753 GB, free: 0.5977 MB / 494.1 MB 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.005503/0.6276, allocations: 2.128 MB / 0.6773 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/0.6277, allocations: 16.03 kB / 0.6774 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.6301, allocations: 441.3 kB / 0.6778 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004539/0.6347, allocations: 1.785 MB / 0.6795 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.6348, allocations: 90.44 kB / 0.6796 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.6352, allocations: 131.9 kB / 0.6797 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003498/0.6387, allocations: 1.44 MB / 0.6811 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.765e-05/0.6387, allocations: 4 kB / 0.6811 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.6389, allocations: 52 kB / 0.6812 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.602e-05/0.639, allocations: 35.94 kB / 0.6812 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/0.6416, allocations: 1.105 MB / 0.6823 GB, free: 9.156 MB / 0.4981 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.00923/0.6508, allocations: 7.86 MB / 0.69 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003705/0.6546, allocations: 1.086 MB / 0.691 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009039/0.6555, allocations: 447.8 kB / 0.6915 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001925/0.6574, allocations: 1.868 MB / 0.6933 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/0.6586, allocations: 0.5024 MB / 0.6938 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=84): time 5.871e-06/0.6587, allocations: 0 / 0.6938 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84): time 0.00326/0.6619, allocations: 1.312 MB / 0.6951 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.662, allocations: 85.77 kB / 0.6951 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/0.6647, allocations: 1.387 MB / 0.6965 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.6649, allocations: 41.7 kB / 0.6965 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.6659, allocations: 0.8178 MB / 0.6973 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005398/0.6665, allocations: 295.8 kB / 0.6976 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.6667, allocations: 85.66 kB / 0.6977 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.6669, allocations: 349.9 kB / 0.698 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009938/0.6679, allocations: 370.4 kB / 0.6984 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.6691, allocations: 0.6792 MB / 0.699 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.6713, allocations: 1.087 MB / 0.7001 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.6714, allocations: 4 kB / 0.7001 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002948/0.6743, allocations: 1.269 MB / 0.7014 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000245/0.6746, allocations: 357.5 kB / 0.7017 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/0.6746, allocations: 12 kB / 0.7017 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.6746, allocations: 15.94 kB / 0.7017 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00097/0.6756, allocations: 259.6 kB / 0.702 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.929e-05/0.6757, allocations: 23.94 kB / 0.702 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.6772, allocations: 190.8 kB / 0.7022 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.6773, allocations: 59.97 kB / 0.7022 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.6774, allocations: 4 kB / 0.7022 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002322/0.6797, allocations: 1.093 MB / 0.7033 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.6797, allocations: 12 kB / 0.7033 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.6798, allocations: 12.81 kB / 0.7033 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009371/0.6807, allocations: 259.6 kB / 0.7036 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/0.6807, allocations: 19.94 kB / 0.7036 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.6823, allocations: 175 kB / 0.7038 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.6824, allocations: 55.97 kB / 0.7038 GB, free: 1.625 MB / 0.5137 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.000891/0.6833, allocations: 440.8 kB / 0.7042 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004654/0.6838, allocations: 169.9 kB / 0.7044 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/0.6871, allocations: 1.48 MB / 0.7058 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.439e-05/0.6872, allocations: 19.98 kB / 0.7059 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.6872, allocations: 0 / 0.7059 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002118/0.6893, allocations: 1.109 MB / 0.7069 GB, free: 14.39 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 postOpt removeSimpleEquations (simulation): time 0.005809/0.6952, allocations: 2.942 MB / 0.7098 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/0.6952, allocations: 4.094 kB / 0.7098 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008464/0.696, allocations: 191.7 kB / 0.71 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.6961, allocations: 4 kB / 0.71 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.398e-05/0.6961, allocations: 31.98 kB / 0.71 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.6962, allocations: 4 kB / 0.71 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6962, allocations: 4 kB / 0.71 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/0.6998, allocations: 1.931 MB / 0.7119 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000886/0.7007, allocations: 410.5 kB / 0.7123 GB, free: 8.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/0.7011, allocations: 20 kB / 0.7123 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.7024, allocations: 138.5 kB / 0.7125 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.7026, allocations: 76.83 kB / 0.7125 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.7027, allocations: 47.97 kB / 0.7126 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001655/0.7043, allocations: 0.9279 MB / 0.7135 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7043, allocations: 0 / 0.7135 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003151/0.7075, allocations: 0.9821 MB / 0.7145 GB, free: 6.574 MB / 0.5294 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.002319/0.7098, allocations: 0.9669 MB / 0.7154 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003797/0.7136, allocations: 1.715 MB / 0.7171 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.7137, allocations: 0 / 0.7171 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.7148, allocations: 0.6268 MB / 0.7177 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004133/0.719, allocations: 0.7531 MB / 0.7184 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00805/0.727, allocations: 4.034 MB / 0.7224 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.7281, allocations: 1.326 MB / 0.7237 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001922/0.73, allocations: 454.8 kB / 0.7241 GB, free: 12.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/0.7305, allocations: 163.4 kB / 0.7242 GB, free: 12.65 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/0.7305, allocations: 0 / 0.7242 GB, free: 12.65 MB / 0.545 GB Notification: Performance of Templates: time 0.06104/0.7916, allocations: 33.6 MB / 0.7571 GB, free: 11.5 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)