Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001314/0.001314, allocations: 109.8 kB / 16.41 MB, free: 6.449 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.001306/0.001306, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7765/0.7765, allocations: 135.1 MB / 426.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 66.77 kB / 0.5863 GB, free: 21.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1351, allocations: 80.93 MB / 0.6653 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05428/0.1894, allocations: 60.71 MB / 0.7246 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01808/0.2075, allocations: 14.63 MB / 0.7389 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.2095, allocations: 63.62 kB / 0.7389 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.2115, allocations: 0.7375 MB / 0.7397 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00547/0.217, allocations: 2.363 MB / 0.742 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.2208, allocations: 1.679 MB / 0.7436 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00453/0.2253, allocations: 4.038 MB / 0.7476 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.2271, allocations: 1.29 MB / 0.7488 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3403/0.5674, allocations: 1.612 MB / 0.7504 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.5691, allocations: 1.083 MB / 0.7514 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.5693, allocations: 133.2 kB / 0.7516 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003233/0.5726, allocations: 1.713 MB / 0.7532 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.5729, allocations: 339 kB / 0.7536 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008579/0.5738, allocations: 0.7892 MB / 0.7543 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004309/0.5781, allocations: 2.72 MB / 0.757 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5781, allocations: 0.6562 kB / 0.757 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5781, allocations: 0 / 0.757 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.267e-05/0.5782, allocations: 1.906 kB / 0.757 GB, free: 10.17 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.003387/0.5816, allocations: 1.847 MB / 0.7588 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5816, allocations: 10.3 kB / 0.7588 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005369/0.5822, allocations: 160.9 kB / 0.759 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.5846, allocations: 1.32 MB / 0.7603 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/0.5847, allocations: 70.78 kB / 0.7603 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.5848, allocations: 85.61 kB / 0.7604 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.5864, allocations: 0.9534 MB / 0.7613 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.5865, allocations: 8.438 kB / 0.7613 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.39e-05/0.5866, allocations: 36.22 kB / 0.7614 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.5866, allocations: 23.98 kB / 0.7614 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.588, allocations: 0.6664 MB / 0.7621 GB, free: 8.566 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.00483/0.5928, allocations: 5.226 MB / 0.7672 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.5935, allocations: 397.2 kB / 0.7675 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.5938, allocations: 245.5 kB / 0.7678 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009077/0.5947, allocations: 1.592 MB / 0.7693 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.5948, allocations: 38.72 kB / 0.7694 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.745e-06/0.5948, allocations: 0 / 0.7694 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002079/0.5968, allocations: 0.9263 MB / 0.7703 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.5969, allocations: 68.19 kB / 0.7703 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.5983, allocations: 0.9922 MB / 0.7713 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/0.5983, allocations: 37.17 kB / 0.7713 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.5987, allocations: 0.5859 MB / 0.7719 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.5988, allocations: 189.5 kB / 0.7721 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.599, allocations: 143.2 kB / 0.7722 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.965e-05/0.5991, allocations: 329.6 kB / 0.7725 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.5994, allocations: 208.6 kB / 0.7727 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.5999, allocations: 398.7 kB / 0.7731 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007612/0.6006, allocations: 0.6193 MB / 0.7737 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.6007, allocations: 10.56 kB / 0.7737 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00157/0.6022, allocations: 0.829 MB / 0.7745 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.6023, allocations: 7.781 kB / 0.7745 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.6023, allocations: 7.75 kB / 0.7746 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005029/0.6028, allocations: 108.1 kB / 0.7747 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.6032, allocations: 140.6 kB / 0.7748 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004442/0.6037, allocations: 0.596 MB / 0.7754 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007384/0.6044, allocations: 78.27 kB / 0.7755 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.6045, allocations: 33.86 kB / 0.7755 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006308/0.6051, allocations: 434.9 kB / 0.7759 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004101/0.6056, allocations: 401 kB / 0.7763 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007408/0.6063, allocations: 0.6284 MB / 0.7769 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.877e-06/0.6063, allocations: 1.656 kB / 0.7769 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001528/0.6079, allocations: 0.8256 MB / 0.7777 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6079, allocations: 8.969 kB / 0.7777 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.6079, allocations: 15.25 kB / 0.7777 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004644/0.6084, allocations: 105.9 kB / 0.7778 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.6088, allocations: 144 kB / 0.778 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004843/0.6093, allocations: 0.6012 MB / 0.7786 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000783/0.6101, allocations: 56.22 kB / 0.7786 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/0.6102, allocations: 36.02 kB / 0.7786 GB, free: 16.14 MB / 0.5919 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.0003205/0.6105, allocations: 227.8 kB / 0.7789 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/0.6108, allocations: 114.1 kB / 0.779 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.6129, allocations: 1.068 MB / 0.78 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001215/0.6141, allocations: 0.8044 MB / 0.7808 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.6141, allocations: 1.219 kB / 0.7808 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/0.6147, allocations: 292.6 kB / 0.7811 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.6148, allocations: 23.19 kB / 0.7811 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005392/0.6154, allocations: 21.91 kB / 0.7811 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.6155, allocations: 56.52 kB / 0.7812 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001564/0.6171, allocations: 0.8805 MB / 0.782 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001714/0.6188, allocations: 1.342 MB / 0.7833 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004618/0.6193, allocations: 341.8 kB / 0.7837 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009694/0.6203, allocations: 0.6852 MB / 0.7843 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of Backend: time 3.7e-07/0.6203, allocations: 0 / 0.7843 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003465/0.6238, allocations: 1.434 MB / 0.7857 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of SimCode: time 0.00449/0.6283, allocations: 2.943 MB / 0.7886 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of Templates: time 0.04319/0.6715, allocations: 29.86 MB / 0.8178 GB, free: 13.27 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)