Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005864/0.005864, allocations: 100.5 kB / 15.87 MB, free: 5.863 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.001118/0.001118, allocations: 187.2 kB / 16.79 MB, free: 5.805 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7474/0.7474, allocations: 132.2 MB / 422.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 59.94 kB / 0.5017 GB, free: 4.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3972, allocations: 80.21 MB / 0.58 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01624/0.4134, allocations: 15 MB / 0.5947 GB, free: 9.793 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006316/0.4198, allocations: 3.923 MB / 0.5985 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006621/0.4205, allocations: 20.53 kB / 0.5985 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006247/0.4212, allocations: 145.7 kB / 0.5987 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.4231, allocations: 0.6175 MB / 0.5993 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.4245, allocations: 431.4 kB / 0.5997 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.4264, allocations: 1.37 MB / 0.601 GB, free: 5.785 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.4268, allocations: 246.5 kB / 0.6013 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000639/0.4275, allocations: 370.4 kB / 0.6016 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.4278, allocations: 268.7 kB / 0.6019 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.4278, allocations: 17.34 kB / 0.6019 GB, free: 5.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.4292, allocations: 0.6987 MB / 0.6026 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.4293, allocations: 68.7 kB / 0.6026 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.4295, allocations: 175.8 kB / 0.6028 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000697/0.4302, allocations: 0.4996 MB / 0.6033 GB, free: 4.418 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4302, allocations: 0 / 0.6033 GB, free: 4.418 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.4302, allocations: 3.938 kB / 0.6033 GB, free: 4.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.4302, allocations: 0 / 0.6033 GB, free: 4.414 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001125/0.4313, allocations: 0.7398 MB / 0.604 GB, free: 3.766 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4314, allocations: 10.22 kB / 0.604 GB, free: 3.766 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.513e-05/0.4315, allocations: 45.41 kB / 0.6041 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000885/0.4324, allocations: 0.4954 MB / 0.6045 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.4324, allocations: 12.95 kB / 0.6046 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.4325, allocations: 20.56 kB / 0.6046 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.4329, allocations: 184.1 kB / 0.6048 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4329, allocations: 0 / 0.6048 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.4329, allocations: 9.531 kB / 0.6048 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4329, allocations: 4.156 kB / 0.6048 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.4333, allocations: 145 kB / 0.6049 GB, free: 3.113 MB / 446.1 MB 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.001073/0.4343, allocations: 0.8508 MB / 0.6057 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.4346, allocations: 124.4 kB / 0.6059 GB, free: 2.246 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.4348, allocations: 77.78 kB / 0.6059 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/0.4351, allocations: 347.8 kB / 0.6063 GB, free: 1.805 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.4352, allocations: 32.75 kB / 0.6063 GB, free: 1.766 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.4352, allocations: 0 / 0.6063 GB, free: 1.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005581/0.4357, allocations: 216.8 kB / 0.6065 GB, free: 1.648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.4358, allocations: 56.47 kB / 0.6066 GB, free: 1.582 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.4361, allocations: 347.9 kB / 0.6069 GB, free: 1.363 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.4362, allocations: 35.45 kB / 0.6069 GB, free: 1.324 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.4363, allocations: 186.7 kB / 0.6071 GB, free: 1.156 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.4363, allocations: 45.02 kB / 0.6071 GB, free: 1.117 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.4364, allocations: 29.81 kB / 0.6072 GB, free: 1.094 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4366, allocations: 343.4 kB / 0.6075 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.4367, allocations: 53.25 kB / 0.6075 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.4369, allocations: 91.19 kB / 0.6076 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.4371, allocations: 113.1 kB / 0.6077 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4372, allocations: 1.156 kB / 0.6077 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003564/0.4375, allocations: 180.7 kB / 0.6079 GB, free: 500 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4375, allocations: 8.781 kB / 0.6079 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4376, allocations: 1.062 kB / 0.6079 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4376, allocations: 1.125 kB / 0.6079 GB, free: 496 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.4377, allocations: 23.48 kB / 0.6079 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.4377, allocations: 1.531 kB / 0.608 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.438, allocations: 28.97 kB / 0.608 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.438, allocations: 8.094 kB / 0.608 GB, free: 472 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002449/0.4382, allocations: 156.3 kB / 0.6081 GB, free: 352 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001499/0.4384, allocations: 88.72 kB / 0.6082 GB, free: 280 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002417/0.4387, allocations: 116.7 kB / 0.6083 GB, free: 212 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.4387, allocations: 4 kB / 0.6083 GB, free: 208 kB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003395/0.439, allocations: 175.8 kB / 0.6085 GB, free: 104 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.439, allocations: 9.469 kB / 0.6085 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.439, allocations: 4 kB / 0.6085 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/0.439, allocations: 1.125 kB / 0.6085 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.4391, allocations: 23.23 kB / 0.6085 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.4392, allocations: 1.312 kB / 0.6085 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.4394, allocations: 28.91 kB / 0.6086 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.4394, allocations: 8.719 kB / 0.6086 GB, free: 72 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.4395, allocations: 183 kB / 0.6088 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.4396, allocations: 40.81 kB / 0.6088 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.4401, allocations: 234.2 kB / 0.609 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.098e-06/0.4401, allocations: 5.359 kB / 0.609 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4401, allocations: 0 / 0.609 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4401, allocations: 1.562 kB / 0.609 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008433/0.4409, allocations: 0.6292 MB / 0.6096 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.441, allocations: 5.25 kB / 0.6096 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.4411, allocations: 23.95 kB / 0.6097 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4411, allocations: 1.438 kB / 0.6097 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.4411, allocations: 2.75 kB / 0.6097 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.4411, allocations: 1.312 kB / 0.6097 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4411, allocations: 1.312 kB / 0.6097 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.4416, allocations: 333.1 kB / 0.61 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.4417, allocations: 127.4 kB / 0.6101 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.4418, allocations: 6.219 kB / 0.6101 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.442, allocations: 27.44 kB / 0.6101 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.442, allocations: 13.45 kB / 0.6102 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.442, allocations: 9.469 kB / 0.6102 GB, free: 14.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002283/0.4423, allocations: 243.7 kB / 0.6104 GB, free: 14.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4423, allocations: 0 / 0.6104 GB, free: 14.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006944/0.443, allocations: 185.6 kB / 0.6106 GB, free: 14.56 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006072/0.4436, allocations: 242.1 kB / 0.6108 GB, free: 14.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005474/0.4442, allocations: 186.8 kB / 0.611 GB, free: 14.33 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4442, allocations: 0 / 0.611 GB, free: 14.33 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.4444, allocations: 80.8 kB / 0.6111 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/0.4452, allocations: 138.6 kB / 0.6112 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/0.4461, allocations: 0.7036 MB / 0.6119 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.4464, allocations: 0.7935 MB / 0.6127 GB, free: 12.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/0.4465, allocations: 32.77 kB / 0.6127 GB, free: 12.93 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4465, allocations: 0 / 0.6127 GB, free: 12.93 MB / 462.1 MB Notification: Performance of Templates: time 0.008564/0.4551, allocations: 5.763 MB / 0.6183 GB, free: 9.98 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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.Examples.HydraulicDiameterCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o] Error 1