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.0009061/0.0009062, allocations: 100.5 kB / 15.71 MB, free: 452 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.001223/0.001223, allocations: 176.6 kB / 16.58 MB, free: 6.879 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.406/1.406, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7668/0.7668, allocations: 132.3 MB / 424 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 8 kB / 0.504 GB, free: 4.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.53/0.5303, allocations: 81.58 MB / 0.5837 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01727/0.5477, allocations: 13.77 MB / 0.5971 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006867/0.5546, allocations: 3.63 MB / 0.6007 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007855/0.5555, allocations: 16.31 kB / 0.6007 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007931/0.5563, allocations: 133 kB / 0.6008 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.5587, allocations: 0.5621 MB / 0.6013 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.5605, allocations: 404.8 kB / 0.6017 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002281/0.5628, allocations: 1.192 MB / 0.6029 GB, free: 6.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.5633, allocations: 219.4 kB / 0.6031 GB, free: 6.289 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009219/0.5642, allocations: 353.7 kB / 0.6034 GB, free: 6.102 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006286/0.5649, allocations: 247.5 kB / 0.6037 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.575e-05/0.565, allocations: 11.62 kB / 0.6037 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.5668, allocations: 0.6366 MB / 0.6043 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.5669, allocations: 65.17 kB / 0.6044 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.5671, allocations: 89.73 kB / 0.6045 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.5678, allocations: 491.5 kB / 0.6049 GB, free: 5.219 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5679, allocations: 0 / 0.6049 GB, free: 5.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5679, allocations: 0 / 0.6049 GB, free: 5.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.5679, allocations: 4 kB / 0.6049 GB, free: 5.215 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.001147/0.569, allocations: 0.6797 MB / 0.6056 GB, free: 4.605 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.5691, allocations: 9.312 kB / 0.6056 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.958e-05/0.5692, allocations: 45.44 kB / 0.6057 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009457/0.5701, allocations: 491.2 kB / 0.6061 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.5702, allocations: 16.73 kB / 0.6061 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.5702, allocations: 16.72 kB / 0.6062 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.5707, allocations: 190.7 kB / 0.6063 GB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.5707, allocations: 3.938 kB / 0.6063 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.5707, allocations: 10.41 kB / 0.6063 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.5707, allocations: 3.812 kB / 0.6064 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/0.5711, allocations: 154.8 kB / 0.6065 GB, free: 3.961 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.001269/0.5724, allocations: 0.8599 MB / 0.6073 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.5727, allocations: 124.4 kB / 0.6075 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.5728, allocations: 78.75 kB / 0.6075 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/0.5732, allocations: 335.1 kB / 0.6079 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.5733, allocations: 36.66 kB / 0.6079 GB, free: 2.625 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.5733, allocations: 0 / 0.6079 GB, free: 2.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006197/0.5739, allocations: 232.3 kB / 0.6081 GB, free: 2.508 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.574, allocations: 57.72 kB / 0.6082 GB, free: 2.441 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.5744, allocations: 344.1 kB / 0.6085 GB, free: 2.223 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.5744, allocations: 28.36 kB / 0.6085 GB, free: 2.191 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.5746, allocations: 202.3 kB / 0.6087 GB, free: 2.008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.5747, allocations: 36.2 kB / 0.6087 GB, free: 1.977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.5747, allocations: 5.031 kB / 0.6088 GB, free: 1.973 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5748, allocations: 337.7 kB / 0.6091 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.575, allocations: 53.17 kB / 0.6091 GB, free: 1.617 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.5752, allocations: 90.25 kB / 0.6092 GB, free: 1.551 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.5753, allocations: 58.66 kB / 0.6093 GB, free: 1.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5753, allocations: 1.562 kB / 0.6093 GB, free: 1.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003825/0.5757, allocations: 183.9 kB / 0.6094 GB, free: 1.422 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/0.5758, allocations: 104.3 kB / 0.6095 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5758, allocations: 3.984 kB / 0.6095 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5758, allocations: 9.203 kB / 0.6096 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.576, allocations: 29.77 kB / 0.6096 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.576, allocations: 1.281 kB / 0.6096 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.5762, allocations: 31.41 kB / 0.6096 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.5763, allocations: 4.469 kB / 0.6096 GB, free: 1.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.116e-06/0.5763, allocations: 9.375 kB / 0.6096 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000295/0.5766, allocations: 122.1 kB / 0.6097 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.5766, allocations: 9.422 kB / 0.6098 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-06/0.5766, allocations: 0 / 0.6098 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.5768, allocations: 33.98 kB / 0.6098 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.5768, allocations: 5.312 kB / 0.6098 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.5769, allocations: 35.34 kB / 0.6098 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.577, allocations: 3.938 kB / 0.6098 GB, free: 1.184 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.5772, allocations: 223.2 kB / 0.61 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.5772, allocations: 36.62 kB / 0.6101 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.5778, allocations: 236.7 kB / 0.6103 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.5778, allocations: 2.375 kB / 0.6103 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5778, allocations: 96 / 0.6103 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5778, allocations: 11.92 kB / 0.6103 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009867/0.5788, allocations: 0.6433 MB / 0.6109 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5788, allocations: 5.75 kB / 0.6109 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.5789, allocations: 29.73 kB / 0.611 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.579, allocations: 1.5 kB / 0.611 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.579, allocations: 1.219 kB / 0.611 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.579, allocations: 6.672 kB / 0.611 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.579, allocations: 1.844 kB / 0.611 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.5795, allocations: 326.7 kB / 0.6113 GB, free: 8 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.5796, allocations: 132.2 kB / 0.6114 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.5797, allocations: 6.344 kB / 0.6114 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.5799, allocations: 26.38 kB / 0.6115 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.58, allocations: 13.47 kB / 0.6115 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.58, allocations: 9.031 kB / 0.6115 GB, free: 15.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000285/0.5803, allocations: 244.7 kB / 0.6117 GB, free: 15.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5803, allocations: 4 kB / 0.6117 GB, free: 15.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007502/0.581, allocations: 187.8 kB / 0.6119 GB, free: 15.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006212/0.5817, allocations: 239.4 kB / 0.6121 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005812/0.5823, allocations: 196.3 kB / 0.6123 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5823, allocations: 0 / 0.6123 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.5825, allocations: 93.19 kB / 0.6124 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008419/0.5833, allocations: 137.8 kB / 0.6125 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.5844, allocations: 0.7129 MB / 0.6132 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.5849, allocations: 0.7895 MB / 0.614 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.585, allocations: 36.58 kB / 0.614 GB, free: 14 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.585, allocations: 4 kB / 0.614 GB, free: 14 MB / 462.1 MB Notification: Performance of Templates: time 0.01064/0.5956, allocations: 5.719 MB / 0.6196 GB, free: 11.09 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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