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.001471/0.001471, allocations: 112.7 kB / 16.42 MB, free: 6.477 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.001674/0.001674, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.372/1.372, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8198/0.8198, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 62.98 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1558, allocations: 80.2 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.07822/0.234, allocations: 60.72 MB / 0.7196 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03584/0.2699, allocations: 14.62 MB / 0.7339 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003177/0.2731, allocations: 63.62 kB / 0.734 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003757/0.277, allocations: 0.7375 MB / 0.7347 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.2884, allocations: 2.352 MB / 0.737 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008596/0.2971, allocations: 1.694 MB / 0.7386 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009894/0.307, allocations: 4.041 MB / 0.7426 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003289/0.3103, allocations: 1.278 MB / 0.7438 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005479/0.3158, allocations: 1.617 MB / 0.7454 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/0.3182, allocations: 1.089 MB / 0.7465 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005485/0.3187, allocations: 132 kB / 0.7466 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3378/0.6565, allocations: 1.703 MB / 0.7483 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006855/0.6572, allocations: 339.1 kB / 0.7486 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.6586, allocations: 0.7863 MB / 0.7494 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005097/0.6637, allocations: 2.733 MB / 0.752 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6637, allocations: 1.188 kB / 0.752 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6637, allocations: 0 / 0.752 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.728e-05/0.6638, allocations: 0.625 kB / 0.752 GB, free: 13.57 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.003096/0.6669, allocations: 1.902 MB / 0.7539 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.6669, allocations: 10.73 kB / 0.7539 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004651/0.6674, allocations: 170.7 kB / 0.7541 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.6696, allocations: 1.324 MB / 0.7554 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/0.6697, allocations: 68.45 kB / 0.7554 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.6698, allocations: 86.36 kB / 0.7555 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.6714, allocations: 0.9546 MB / 0.7564 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.6715, allocations: 4.594 kB / 0.7564 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/0.6716, allocations: 38.03 kB / 0.7565 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.6716, allocations: 22.98 kB / 0.7565 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.6729, allocations: 0.6642 MB / 0.7571 GB, free: 11.91 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.005727/0.6786, allocations: 5.235 MB / 0.7623 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009595/0.6796, allocations: 398.7 kB / 0.7626 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.6801, allocations: 246.4 kB / 0.7629 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.6812, allocations: 1.594 MB / 0.7644 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.6812, allocations: 38.5 kB / 0.7645 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.735e-06/0.6812, allocations: 0 / 0.7645 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002331/0.6836, allocations: 0.9453 MB / 0.7654 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.6836, allocations: 57.75 kB / 0.7654 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.6852, allocations: 0.9971 MB / 0.7664 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.6853, allocations: 38.05 kB / 0.7665 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.6857, allocations: 0.5917 MB / 0.767 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.6859, allocations: 200.4 kB / 0.7672 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.6861, allocations: 141.1 kB / 0.7674 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.89e-05/0.6861, allocations: 334.4 kB / 0.7677 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.6865, allocations: 204.7 kB / 0.7679 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.6869, allocations: 399.5 kB / 0.7683 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008215/0.6878, allocations: 0.6259 MB / 0.7689 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6878, allocations: 1.062 kB / 0.7689 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001677/0.6895, allocations: 0.8324 MB / 0.7697 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.6895, allocations: 11.59 kB / 0.7697 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.6895, allocations: 7.5 kB / 0.7697 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/0.6901, allocations: 116.4 kB / 0.7698 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.6905, allocations: 137.6 kB / 0.7699 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003564/0.6909, allocations: 0.6009 MB / 0.7705 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.6916, allocations: 78.22 kB / 0.7706 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.6917, allocations: 40.14 kB / 0.7706 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006542/0.6924, allocations: 437.3 kB / 0.7711 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004945/0.6929, allocations: 403.3 kB / 0.7714 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008833/0.6938, allocations: 0.6219 MB / 0.7721 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.037e-06/0.6938, allocations: 2.125 kB / 0.7721 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001557/0.6953, allocations: 0.8291 MB / 0.7729 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6954, allocations: 7.562 kB / 0.7729 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.6954, allocations: 11.22 kB / 0.7729 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004715/0.6959, allocations: 111.5 kB / 0.773 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.6963, allocations: 139.3 kB / 0.7731 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003351/0.6966, allocations: 0.5896 MB / 0.7737 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007038/0.6974, allocations: 65.31 kB / 0.7738 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.747e-05/0.6974, allocations: 36.59 kB / 0.7738 GB, free: 3.48 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.0001972/0.6976, allocations: 228.4 kB / 0.774 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.6978, allocations: 126.5 kB / 0.7741 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.6998, allocations: 1.062 MB / 0.7752 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/0.7011, allocations: 0.7976 MB / 0.7759 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/0.7011, allocations: 6.625 kB / 0.776 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000454/0.7016, allocations: 297.5 kB / 0.7762 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.7017, allocations: 19.25 kB / 0.7763 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.7023, allocations: 21.94 kB / 0.7763 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.7024, allocations: 65.97 kB / 0.7763 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001578/0.704, allocations: 0.8819 MB / 0.7772 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001697/0.7057, allocations: 1.345 MB / 0.7785 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004372/0.7062, allocations: 339 kB / 0.7788 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009365/0.7071, allocations: 0.6881 MB / 0.7795 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of Backend: time 3.21e-07/0.7071, allocations: 0 / 0.7795 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003335/0.7105, allocations: 1.442 MB / 0.7809 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004345/0.7148, allocations: 3.006 MB / 0.7839 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of Templates: time 0.04279/0.7576, allocations: 29.85 MB / 0.813 GB, free: 3.781 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)