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.0007995/0.0007997, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009458/0.0009461, allocations: 179.6 kB / 16.92 MB, free: 6.652 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7439/0.7439, allocations: 132.3 MB / 424.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003324, allocations: 8 kB / 0.5046 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4416, allocations: 81.57 MB / 0.5843 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05302/0.4946, allocations: 59.24 MB / 0.6421 GB, free: 5.055 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01867/0.5133, allocations: 14.55 MB / 0.6564 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003136/0.5165, allocations: 51.69 kB / 0.6564 GB, free: 6.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002268/0.5188, allocations: 0.5827 MB / 0.657 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006253/0.5251, allocations: 2.073 MB / 0.659 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004136/0.5292, allocations: 1.49 MB / 0.6605 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006226/0.5355, allocations: 5.27 MB / 0.6656 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.5373, allocations: 1.039 MB / 0.6666 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002987/0.5403, allocations: 1.326 MB / 0.6679 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.5421, allocations: 1.042 MB / 0.6689 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.5422, allocations: 48 kB / 0.669 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.5457, allocations: 1.586 MB / 0.6705 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.5461, allocations: 262.8 kB / 0.6708 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009692/0.5471, allocations: 0.7129 MB / 0.6715 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.5497, allocations: 1.999 MB / 0.6734 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.5497, allocations: 0 / 0.6734 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5497, allocations: 0 / 0.6734 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.5497, allocations: 0 / 0.6734 GB, free: 4.91 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.002636/0.5524, allocations: 1.577 MB / 0.675 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.5524, allocations: 12.03 kB / 0.675 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003826/0.5528, allocations: 170.2 kB / 0.6751 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.5548, allocations: 1.295 MB / 0.6764 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/0.5548, allocations: 66 kB / 0.6765 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.555, allocations: 88 kB / 0.6765 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.5566, allocations: 0.9553 MB / 0.6775 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.5566, allocations: 0 / 0.6775 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/0.5567, allocations: 47.91 kB / 0.6775 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.5567, allocations: 27.94 kB / 0.6775 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.558, allocations: 0.6597 MB / 0.6782 GB, free: 15.87 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.005696/0.5637, allocations: 5.216 MB / 0.6833 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006996/0.5644, allocations: 401.9 kB / 0.6837 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.5648, allocations: 246.1 kB / 0.6839 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/0.5662, allocations: 1.607 MB / 0.6855 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.5663, allocations: 39 kB / 0.6855 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.455e-06/0.5663, allocations: 0 / 0.6855 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002271/0.5686, allocations: 0.9446 MB / 0.6864 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.5686, allocations: 55.84 kB / 0.6865 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.57, allocations: 0.9889 MB / 0.6875 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.5701, allocations: 37.7 kB / 0.6875 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/0.5705, allocations: 0.5697 MB / 0.688 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.5707, allocations: 193.2 kB / 0.6882 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.5708, allocations: 57.69 kB / 0.6883 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5709, allocations: 338 kB / 0.6886 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.5713, allocations: 193.6 kB / 0.6888 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/0.5718, allocations: 408.9 kB / 0.6892 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.5726, allocations: 0.6294 MB / 0.6898 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5726, allocations: 4 kB / 0.6898 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0016/0.5742, allocations: 0.8344 MB / 0.6906 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002118/0.5745, allocations: 267.8 kB / 0.6909 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.5745, allocations: 11.94 kB / 0.6909 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005334/0.575, allocations: 100.8 kB / 0.691 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/0.5755, allocations: 143.8 kB / 0.6911 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004686/0.576, allocations: 0.5914 MB / 0.6917 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008014/0.5768, allocations: 115.2 kB / 0.6918 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.5769, allocations: 39.98 kB / 0.6918 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.5769, allocations: 4 kB / 0.6918 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001372/0.5783, allocations: 0.7047 MB / 0.6925 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.5783, allocations: 8 kB / 0.6925 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004682/0.5788, allocations: 109.2 kB / 0.6926 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.5792, allocations: 143.7 kB / 0.6928 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004799/0.5797, allocations: 0.607 MB / 0.6934 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.5804, allocations: 99.39 kB / 0.6935 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.5805, allocations: 43.98 kB / 0.6935 GB, free: 15.01 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.0005295/0.581, allocations: 368.9 kB / 0.6939 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.5812, allocations: 106.7 kB / 0.694 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.5831, allocations: 1.07 MB / 0.695 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.5832, allocations: 12 kB / 0.695 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5832, allocations: 4 kB / 0.695 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/0.5844, allocations: 0.803 MB / 0.6958 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.5876, allocations: 2.098 MB / 0.6979 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.5876, allocations: 4 kB / 0.6979 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.588, allocations: 99.89 kB / 0.698 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003183/0.5884, allocations: 76.69 kB / 0.698 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.5884, allocations: 23.92 kB / 0.6981 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004186/0.5888, allocations: 0.5837 MB / 0.6986 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5888, allocations: 0 / 0.6986 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.5907, allocations: 1.322 MB / 0.6999 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.5912, allocations: 315.3 kB / 0.7002 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.5913, allocations: 12 kB / 0.7002 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.592, allocations: 94.22 kB / 0.7003 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/0.5921, allocations: 52.42 kB / 0.7004 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.5921, allocations: 27.98 kB / 0.7004 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000971/0.5931, allocations: 0.6804 MB / 0.7011 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5931, allocations: 0 / 0.7011 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001742/0.5949, allocations: 0.7406 MB / 0.7018 GB, free: 6.359 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.001084/0.596, allocations: 0.5593 MB / 0.7023 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.5977, allocations: 1.056 MB / 0.7034 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.5977, allocations: 4 kB / 0.7034 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006085/0.5984, allocations: 435 kB / 0.7038 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.6012, allocations: 0.5641 MB / 0.7043 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.6049, allocations: 2.744 MB / 0.707 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.6056, allocations: 1.125 MB / 0.7081 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.6058, allocations: 115.4 kB / 0.7082 GB, free: 15.67 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.6059, allocations: 4 kB / 0.7082 GB, free: 15.67 MB / 0.545 GB Notification: Performance of Templates: time 0.03827/0.6441, allocations: 28.38 MB / 0.7359 GB, free: 3.512 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversalCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversalCalcHelperMain.o] Error 1