Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008549/0.00855, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001895/0.001895, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7933/0.7933, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.69 kB / 0.5813 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1619, allocations: 80.21 MB / 0.6597 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.06011/0.222, allocations: 60.71 MB / 0.719 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02277/0.2449, allocations: 14.62 MB / 0.7332 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/0.2476, allocations: 63.62 kB / 0.7333 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.2498, allocations: 0.7375 MB / 0.734 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006446/0.2563, allocations: 2.359 MB / 0.7363 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004716/0.261, allocations: 1.691 MB / 0.738 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005681/0.2667, allocations: 4.036 MB / 0.7419 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.2691, allocations: 1.278 MB / 0.7432 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004218/0.2733, allocations: 1.621 MB / 0.7447 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/0.2754, allocations: 1.097 MB / 0.7458 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004151/0.2758, allocations: 132 kB / 0.7459 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4389/0.7147, allocations: 1.703 MB / 0.7476 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008087/0.7156, allocations: 343.4 kB / 0.7479 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.7171, allocations: 0.7814 MB / 0.7487 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005813/0.7229, allocations: 2.724 MB / 0.7514 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7229, allocations: 2.062 kB / 0.7514 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.723, allocations: 1.281 kB / 0.7514 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.437e-05/0.723, allocations: 1.156 kB / 0.7514 GB, free: 13.23 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003266/0.7263, allocations: 1.848 MB / 0.7532 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.7263, allocations: 11.12 kB / 0.7532 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004572/0.7268, allocations: 163.6 kB / 0.7533 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.7289, allocations: 1.314 MB / 0.7546 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.608e-05/0.729, allocations: 64.53 kB / 0.7547 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.7291, allocations: 84.16 kB / 0.7548 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.7308, allocations: 0.9594 MB / 0.7557 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.7309, allocations: 5.562 kB / 0.7557 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.384e-05/0.731, allocations: 41.61 kB / 0.7557 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.731, allocations: 22.19 kB / 0.7558 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.7323, allocations: 0.6666 MB / 0.7564 GB, free: 11.68 MB / 0.5762 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.005836/0.7382, allocations: 5.214 MB / 0.7615 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009449/0.7391, allocations: 404.3 kB / 0.7619 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/0.7396, allocations: 244 kB / 0.7621 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/0.7408, allocations: 1.593 MB / 0.7637 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.7409, allocations: 41.7 kB / 0.7637 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.705e-06/0.7409, allocations: 0 / 0.7637 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.003009/0.7439, allocations: 0.9311 MB / 0.7646 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.744, allocations: 56.62 kB / 0.7647 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.746, allocations: 1.003 MB / 0.7657 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.7461, allocations: 35.95 kB / 0.7657 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006349/0.7468, allocations: 0.5795 MB / 0.7663 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.7471, allocations: 191.8 kB / 0.7664 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.7474, allocations: 140.6 kB / 0.7666 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.7475, allocations: 336.7 kB / 0.7669 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004054/0.7479, allocations: 210.3 kB / 0.7671 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000521/0.7484, allocations: 399.3 kB / 0.7675 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/0.7493, allocations: 0.6257 MB / 0.7681 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.7493, allocations: 1.125 kB / 0.7681 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001893/0.7512, allocations: 0.8267 MB / 0.7689 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.7513, allocations: 7.469 kB / 0.7689 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.7513, allocations: 10.27 kB / 0.7689 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005534/0.7519, allocations: 106.7 kB / 0.769 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.7523, allocations: 144 kB / 0.7692 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004069/0.7527, allocations: 0.6002 MB / 0.7697 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008743/0.7536, allocations: 76.14 kB / 0.7698 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.114e-05/0.7537, allocations: 40.12 kB / 0.7699 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000891/0.7546, allocations: 440.3 kB / 0.7703 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006631/0.7553, allocations: 398.1 kB / 0.7707 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001004/0.7563, allocations: 0.6219 MB / 0.7713 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.422e-06/0.7563, allocations: 4.875 kB / 0.7713 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001953/0.7583, allocations: 0.8164 MB / 0.7721 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.7583, allocations: 11.81 kB / 0.7721 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.7583, allocations: 8.094 kB / 0.7721 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004941/0.7588, allocations: 107.6 kB / 0.7722 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.7593, allocations: 142.2 kB / 0.7723 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003605/0.7597, allocations: 0.5984 MB / 0.7729 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007751/0.7604, allocations: 59.88 kB / 0.773 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.584e-05/0.7605, allocations: 39.03 kB / 0.773 GB, free: 3.293 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002646/0.7608, allocations: 226.2 kB / 0.7732 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/0.7611, allocations: 109.2 kB / 0.7733 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.7635, allocations: 1.065 MB / 0.7744 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/0.7636, allocations: 11.39 kB / 0.7744 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.7636, allocations: 3.375 kB / 0.7744 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0013/0.7649, allocations: 0.8083 MB / 0.7752 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/0.7691, allocations: 2.093 MB / 0.7772 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/0.7692, allocations: 2.344 kB / 0.7772 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.7696, allocations: 107.4 kB / 0.7773 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003251/0.7699, allocations: 68.97 kB / 0.7774 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-05/0.77, allocations: 19.33 kB / 0.7774 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004511/0.7705, allocations: 0.5927 MB / 0.778 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/0.7705, allocations: 8.547 kB / 0.778 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.773, allocations: 1.314 MB / 0.7793 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007272/0.7737, allocations: 293.7 kB / 0.7795 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/0.774, allocations: 14.25 kB / 0.7796 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007661/0.7748, allocations: 29.58 kB / 0.7796 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.775, allocations: 56.28 kB / 0.7796 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.28e-05/0.7751, allocations: 31.73 kB / 0.7797 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001374/0.7764, allocations: 0.6926 MB / 0.7803 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7764, allocations: 0 / 0.7803 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003585/0.78, allocations: 0.7476 MB / 0.7811 GB, free: 17.19 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 Backend phase and start with SimCode phase: time 0.002259/0.7823, allocations: 0.5655 MB / 0.7816 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002564/0.7849, allocations: 1.058 MB / 0.7827 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.7849, allocations: 1.281 kB / 0.7827 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007128/0.7856, allocations: 429.4 kB / 0.7831 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.7885, allocations: 0.5995 MB / 0.7837 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.7928, allocations: 2.122 MB / 0.7857 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009136/0.7938, allocations: 1.137 MB / 0.7868 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001177/0.795, allocations: 306 kB / 0.7871 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.7952, allocations: 113.8 kB / 0.7872 GB, free: 15 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.7952, allocations: 0 / 0.7872 GB, free: 15 MB / 0.5919 GB Notification: Performance of Templates: time 0.04984/0.8451, allocations: 28.16 MB / 0.8147 GB, free: 1.531 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)