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.001067/0.001067, allocations: 97.33 kB / 15.36 MB, free: 0.7305 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.001369/0.001369, allocations: 172.5 kB / 16.26 MB, free: 6.664 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8012/0.8012, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003249, allocations: 8.781 kB / 0.504 GB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.446, allocations: 81.57 MB / 0.5837 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.06938/0.5155, allocations: 59.23 MB / 0.6415 GB, free: 5.094 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02691/0.5424, allocations: 14.56 MB / 0.6557 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003854/0.5463, allocations: 55.62 kB / 0.6558 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.5491, allocations: 0.571 MB / 0.6563 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007191/0.5564, allocations: 2.079 MB / 0.6584 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00457/0.561, allocations: 1.502 MB / 0.6598 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006963/0.5679, allocations: 5.262 MB / 0.665 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/0.5701, allocations: 1.039 MB / 0.666 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/0.5735, allocations: 1.326 MB / 0.6673 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/0.5758, allocations: 1.05 MB / 0.6683 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003211/0.5761, allocations: 52 kB / 0.6684 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.5803, allocations: 1.582 MB / 0.6699 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007302/0.5811, allocations: 258.8 kB / 0.6702 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.5831, allocations: 0.7129 MB / 0.6709 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005043/0.5881, allocations: 2.601 MB / 0.6734 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.5882, allocations: 0 / 0.6734 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5882, allocations: 4 kB / 0.6734 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.177e-05/0.5882, allocations: 0 / 0.6734 GB, free: 4.328 MB / 0.4981 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.003764/0.592, allocations: 1.573 MB / 0.6749 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.5921, allocations: 8.031 kB / 0.6749 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006113/0.5927, allocations: 166.2 kB / 0.6751 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/0.5952, allocations: 1.295 MB / 0.6764 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.649e-05/0.5953, allocations: 66 kB / 0.6764 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.5954, allocations: 84 kB / 0.6765 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.5973, allocations: 0.9553 MB / 0.6774 GB, free: 32 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.5973, allocations: 4 kB / 0.6774 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.5974, allocations: 43.92 kB / 0.6775 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/0.5975, allocations: 24 kB / 0.6775 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.5988, allocations: 0.6714 MB / 0.6782 GB, free: 15.29 MB / 0.5137 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.006352/0.6052, allocations: 5.212 MB / 0.6833 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007644/0.6059, allocations: 409.9 kB / 0.6836 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.6063, allocations: 243.6 kB / 0.6839 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/0.6079, allocations: 1.603 MB / 0.6854 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.6079, allocations: 39 kB / 0.6855 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.767e-06/0.6079, allocations: 4 kB / 0.6855 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002497/0.6104, allocations: 0.9407 MB / 0.6864 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.6105, allocations: 67.78 kB / 0.6865 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.6121, allocations: 0.985 MB / 0.6874 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.6121, allocations: 33.7 kB / 0.6875 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.6126, allocations: 0.5775 MB / 0.688 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.6129, allocations: 189.2 kB / 0.6882 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.619e-05/0.613, allocations: 57.69 kB / 0.6883 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6131, allocations: 333.9 kB / 0.6886 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.6135, allocations: 201.6 kB / 0.6888 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.6141, allocations: 400.9 kB / 0.6892 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/0.615, allocations: 0.6411 MB / 0.6898 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.615, allocations: 4 kB / 0.6898 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001845/0.6169, allocations: 0.8185 MB / 0.6906 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.6171, allocations: 261.5 kB / 0.6908 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.6171, allocations: 11.94 kB / 0.6908 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006669/0.6178, allocations: 112.7 kB / 0.691 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.6183, allocations: 139.8 kB / 0.6911 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005306/0.6188, allocations: 0.5953 MB / 0.6917 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009782/0.6198, allocations: 115.2 kB / 0.6918 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-05/0.6199, allocations: 39.98 kB / 0.6918 GB, free: 172 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.6199, allocations: 4 kB / 0.6918 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001618/0.6216, allocations: 0.7009 MB / 0.6925 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.6216, allocations: 11.94 kB / 0.6925 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005315/0.6222, allocations: 105.2 kB / 0.6926 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.6226, allocations: 147.7 kB / 0.6928 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005081/0.6231, allocations: 0.5913 MB / 0.6933 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000875/0.624, allocations: 111.4 kB / 0.6934 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/0.6241, allocations: 39.98 kB / 0.6935 GB, free: 14.43 MB / 0.5294 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.000547/0.6247, allocations: 372.9 kB / 0.6938 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/0.6249, allocations: 110.7 kB / 0.6939 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.627, allocations: 1.07 MB / 0.695 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.6271, allocations: 11.98 kB / 0.695 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6271, allocations: 0 / 0.695 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001301/0.6284, allocations: 0.807 MB / 0.6958 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003742/0.6321, allocations: 2.094 MB / 0.6978 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.6322, allocations: 4.031 kB / 0.6978 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.6326, allocations: 107.9 kB / 0.6979 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003465/0.633, allocations: 68.81 kB / 0.698 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/0.633, allocations: 27.86 kB / 0.698 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004399/0.6335, allocations: 0.5797 MB / 0.6986 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.6335, allocations: 8.094 kB / 0.6986 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.6358, allocations: 1.318 MB / 0.6999 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006159/0.6364, allocations: 319.3 kB / 0.7002 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.6366, allocations: 15.94 kB / 0.7002 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008102/0.6375, allocations: 83.77 kB / 0.7003 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.6376, allocations: 56.48 kB / 0.7003 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.89e-05/0.6377, allocations: 27.98 kB / 0.7004 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001259/0.639, allocations: 0.6804 MB / 0.701 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.6e-07/0.639, allocations: 0 / 0.701 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002296/0.6413, allocations: 0.7367 MB / 0.7018 GB, free: 5.777 MB / 0.5294 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.001319/0.6426, allocations: 0.5627 MB / 0.7023 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001998/0.6446, allocations: 1.059 MB / 0.7033 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.6447, allocations: 4 kB / 0.7033 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006747/0.6453, allocations: 431.7 kB / 0.7038 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/0.6489, allocations: 0.5798 MB / 0.7043 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.6535, allocations: 2.697 MB / 0.707 GB, free: 408 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000926/0.6544, allocations: 1.129 MB / 0.7081 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00129/0.6557, allocations: 314 kB / 0.7084 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.656, allocations: 111.3 kB / 0.7085 GB, free: 14.84 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.656, allocations: 0 / 0.7085 GB, free: 14.84 MB / 0.545 GB Notification: Performance of Templates: time 0.04732/0.7034, allocations: 26.45 MB / 0.7343 GB, free: 4.766 MB / 0.5606 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)