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.00121/0.001209, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001391/0.001391, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.34/1.34, 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.7972/0.7972, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.75 kB / 0.582 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1399, allocations: 80.21 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.06252/0.2025, allocations: 60.71 MB / 0.7196 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.019/0.2215, allocations: 14.62 MB / 0.7339 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.2234, allocations: 63.62 kB / 0.734 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.2252, allocations: 0.7336 MB / 0.7347 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006044/0.2313, allocations: 2.348 MB / 0.737 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004492/0.2358, allocations: 1.699 MB / 0.7386 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006151/0.2419, allocations: 4.044 MB / 0.7426 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001984/0.2439, allocations: 1.27 MB / 0.7438 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003963/0.2479, allocations: 1.629 MB / 0.7454 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.2495, allocations: 1.089 MB / 0.7465 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.2498, allocations: 132 kB / 0.7466 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3514/0.6012, allocations: 1.707 MB / 0.7483 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000813/0.6021, allocations: 339.1 kB / 0.7486 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.6035, allocations: 0.7825 MB / 0.7494 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005199/0.6087, allocations: 2.736 MB / 0.752 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.6087, allocations: 3.078 kB / 0.752 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6087, allocations: 0 / 0.752 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.744e-05/0.6088, allocations: 0 / 0.752 GB, free: 13.59 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.003185/0.6119, allocations: 1.897 MB / 0.7539 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.612, allocations: 8.688 kB / 0.7539 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004721/0.6125, allocations: 175 kB / 0.7541 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.6146, allocations: 1.324 MB / 0.7554 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.085e-05/0.6147, allocations: 64.25 kB / 0.7554 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.6149, allocations: 83.03 kB / 0.7555 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.6165, allocations: 0.9604 MB / 0.7564 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.6166, allocations: 3.141 kB / 0.7564 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/0.6167, allocations: 36.08 kB / 0.7565 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/0.6167, allocations: 29.3 kB / 0.7565 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.6181, allocations: 0.6616 MB / 0.7572 GB, free: 11.93 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.005706/0.6238, allocations: 5.237 MB / 0.7623 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.6247, allocations: 397 kB / 0.7626 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/0.6252, allocations: 243.5 kB / 0.7629 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.6263, allocations: 1.592 MB / 0.7644 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.6263, allocations: 40.91 kB / 0.7645 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.244e-06/0.6263, allocations: 0 / 0.7645 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002424/0.6288, allocations: 0.9451 MB / 0.7654 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.6288, allocations: 57.03 kB / 0.7654 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.6304, allocations: 0.9978 MB / 0.7664 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.17e-05/0.6305, allocations: 39.33 kB / 0.7665 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/0.6309, allocations: 0.5871 MB / 0.767 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.6311, allocations: 198.9 kB / 0.7672 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.6313, allocations: 137.7 kB / 0.7674 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.6314, allocations: 335 kB / 0.7677 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.6318, allocations: 205 kB / 0.7679 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.6323, allocations: 400.3 kB / 0.7682 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008583/0.6332, allocations: 0.6338 MB / 0.7689 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.6332, allocations: 2.906 kB / 0.7689 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001627/0.6348, allocations: 0.8364 MB / 0.7697 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.6348, allocations: 7.625 kB / 0.7697 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.6349, allocations: 11.88 kB / 0.7697 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/0.6354, allocations: 113.8 kB / 0.7698 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.6359, allocations: 135.2 kB / 0.7699 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000434/0.6363, allocations: 0.6023 MB / 0.7705 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007715/0.6371, allocations: 75.11 kB / 0.7706 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.581e-05/0.6372, allocations: 39.22 kB / 0.7706 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007141/0.6379, allocations: 440.3 kB / 0.7711 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005345/0.6385, allocations: 397.2 kB / 0.7714 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009991/0.6395, allocations: 0.6239 MB / 0.772 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.568e-06/0.6395, allocations: 1.219 kB / 0.7721 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001703/0.6412, allocations: 0.8316 MB / 0.7729 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.6413, allocations: 11.03 kB / 0.7729 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.6413, allocations: 12.16 kB / 0.7729 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004691/0.6417, allocations: 100.1 kB / 0.773 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.6422, allocations: 139.9 kB / 0.7731 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003445/0.6426, allocations: 0.6017 MB / 0.7737 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/0.6433, allocations: 66.83 kB / 0.7738 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/0.6434, allocations: 34.42 kB / 0.7738 GB, free: 3.492 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.0002272/0.6436, allocations: 222.7 kB / 0.774 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.6438, allocations: 121.9 kB / 0.7741 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.6459, allocations: 1.064 MB / 0.7752 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001364/0.6473, allocations: 0.8116 MB / 0.776 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.6473, allocations: 2.781 kB / 0.776 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004585/0.6478, allocations: 302.8 kB / 0.7762 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.648, allocations: 15.84 kB / 0.7763 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.6485, allocations: 23.73 kB / 0.7763 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.6487, allocations: 57.91 kB / 0.7763 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001615/0.6503, allocations: 0.885 MB / 0.7772 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001785/0.6521, allocations: 1.341 MB / 0.7785 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004993/0.6526, allocations: 340 kB / 0.7788 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001044/0.6536, allocations: 0.6857 MB / 0.7795 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of Backend: time 6.31e-07/0.6537, allocations: 3.281 kB / 0.7795 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003592/0.6573, allocations: 1.438 MB / 0.7809 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004606/0.6619, allocations: 3.003 MB / 0.7839 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of Templates: time 0.04694/0.7088, allocations: 29.86 MB / 0.813 GB, free: 3.793 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)