Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.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.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000782/0.000782, allocations: 92.16 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.0008774/0.0008774, allocations: 181.6 kB / 16.92 MB, free: 6.922 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.313/1.313, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7078/0.7078, allocations: 132.3 MB / 424.4 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003364, allocations: 8 kB / 0.5046 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4578, allocations: 81.57 MB / 0.5843 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.03222/0.4901, allocations: 29.74 MB / 0.6133 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.5054, allocations: 10.19 MB / 0.6233 GB, free: 5.867 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.5075, allocations: 39.31 kB / 0.6233 GB, free: 5.852 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.5095, allocations: 0.6037 MB / 0.6239 GB, free: 5.391 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004131/0.5137, allocations: 1.382 MB / 0.6252 GB, free: 4.305 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.5169, allocations: 1.184 MB / 0.6264 GB, free: 3.473 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005811/0.5227, allocations: 3.92 MB / 0.6302 GB, free: 1.309 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.5244, allocations: 0.8036 MB / 0.631 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.5268, allocations: 0.9843 MB / 0.632 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.5279, allocations: 0.7893 MB / 0.6327 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.64e-05/0.528, allocations: 40 kB / 0.6328 GB, free: 14.67 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.5298, allocations: 0.7408 MB / 0.6335 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.5301, allocations: 283 kB / 0.6338 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005674/0.5307, allocations: 0.5612 MB / 0.6343 GB, free: 13.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.5323, allocations: 1.442 MB / 0.6357 GB, free: 11.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5323, allocations: 0 / 0.6357 GB, free: 11.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5323, allocations: 4 kB / 0.6357 GB, free: 11.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.5323, allocations: 0 / 0.6357 GB, free: 11.64 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002197/0.5345, allocations: 1.34 MB / 0.637 GB, free: 10.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.5346, allocations: 8.031 kB / 0.6371 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009125/0.5355, allocations: 215.3 kB / 0.6373 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/0.5372, allocations: 1.054 MB / 0.6383 GB, free: 8.926 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.346e-05/0.5373, allocations: 53.3 kB / 0.6383 GB, free: 8.875 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.5374, allocations: 72 kB / 0.6384 GB, free: 8.805 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.5386, allocations: 0.7285 MB / 0.6391 GB, free: 8.051 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.5386, allocations: 0 / 0.6391 GB, free: 8.051 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.274e-05/0.5387, allocations: 28 kB / 0.6391 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.5387, allocations: 25.25 kB / 0.6392 GB, free: 8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.5398, allocations: 0.5477 MB / 0.6397 GB, free: 7.449 MB / 478.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.003888/0.5437, allocations: 3.163 MB / 0.6428 GB, free: 4.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.5448, allocations: 467.8 kB / 0.6432 GB, free: 3.629 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.5452, allocations: 206 kB / 0.6434 GB, free: 3.426 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/0.5471, allocations: 1.549 MB / 0.6449 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000497/0.5476, allocations: 254.8 kB / 0.6452 GB, free: 1.441 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002255/0.5478, allocations: 59.52 kB / 0.6452 GB, free: 1.383 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 3.948e-06/0.5479, allocations: 3.984 kB / 0.6453 GB, free: 1.379 MB / 478.1 MB Notification: Performance of matching and sorting (n=38): time 0.001273/0.5491, allocations: 0.5883 MB / 0.6458 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.5492, allocations: 59.16 kB / 0.6459 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.5503, allocations: 0.9257 MB / 0.6468 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.5504, allocations: 37.64 kB / 0.6468 GB, free: 15.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/0.5508, allocations: 0.5035 MB / 0.6473 GB, free: 15.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.5509, allocations: 126.2 kB / 0.6474 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/0.551, allocations: 65.67 kB / 0.6475 GB, free: 15.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5511, allocations: 326 kB / 0.6478 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/0.5515, allocations: 201.2 kB / 0.648 GB, free: 14.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.5521, allocations: 416.6 kB / 0.6484 GB, free: 14.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009273/0.553, allocations: 0.6111 MB / 0.649 GB, free: 13.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.553, allocations: 0 / 0.649 GB, free: 13.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001235/0.5543, allocations: 0.7222 MB / 0.6497 GB, free: 12.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.5544, allocations: 267.4 kB / 0.65 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.5544, allocations: 8 kB / 0.65 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.5545, allocations: 11.98 kB / 0.65 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/0.555, allocations: 143.8 kB / 0.6501 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.5551, allocations: 16 kB / 0.6501 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/0.5557, allocations: 64.53 kB / 0.6502 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-05/0.5557, allocations: 31.98 kB / 0.6502 GB, free: 11.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.5558, allocations: 6.344 kB / 0.6502 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009031/0.5567, allocations: 0.5539 MB / 0.6508 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.5567, allocations: 11.94 kB / 0.6508 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.5567, allocations: 8 kB / 0.6508 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.5572, allocations: 139.8 kB / 0.6509 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.5572, allocations: 11.94 kB / 0.6509 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.5577, allocations: 52.78 kB / 0.651 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.5577, allocations: 35.92 kB / 0.651 GB, free: 11.16 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 1 * 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.000474/0.5582, allocations: 368.9 kB / 0.6514 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.5583, allocations: 106.7 kB / 0.6515 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.5596, allocations: 0.6199 MB / 0.6521 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.5596, allocations: 12 kB / 0.6521 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5596, allocations: 7.938 kB / 0.6521 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008992/0.5605, allocations: 0.6703 MB / 0.6527 GB, free: 9.289 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.002131/0.5627, allocations: 1.514 MB / 0.6542 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.5627, allocations: 128 / 0.6542 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.5631, allocations: 87.83 kB / 0.6543 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5631, allocations: 4 kB / 0.6543 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.5631, allocations: 15.98 kB / 0.6543 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.5631, allocations: 7.938 kB / 0.6543 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5631, allocations: 0 / 0.6543 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.5645, allocations: 0.8938 MB / 0.6552 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.5648, allocations: 235.7 kB / 0.6554 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-05/0.5649, allocations: 8 kB / 0.6554 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.5654, allocations: 43.97 kB / 0.6555 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.5654, allocations: 39.83 kB / 0.6555 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.5655, allocations: 19.98 kB / 0.6555 GB, free: 6.297 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007582/0.5663, allocations: 0.635 MB / 0.6562 GB, free: 5.652 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5663, allocations: 0 / 0.6562 GB, free: 5.652 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001354/0.5676, allocations: 0.5185 MB / 0.6567 GB, free: 5.133 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.0007161/0.5683, allocations: 364.1 kB / 0.657 GB, free: 4.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.5698, allocations: 0.7916 MB / 0.6578 GB, free: 3.988 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5698, allocations: 1.562 kB / 0.6578 GB, free: 3.988 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004277/0.5702, allocations: 240 kB / 0.658 GB, free: 3.754 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.5724, allocations: 482.3 kB / 0.6585 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.5752, allocations: 2.229 MB / 0.6607 GB, free: 1.016 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005897/0.5758, allocations: 1.084 MB / 0.6617 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.576, allocations: 91.34 kB / 0.6618 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.576, allocations: 0 / 0.6618 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.02465/0.6006, allocations: 17.85 MB / 0.6792 GB, free: 14.14 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.makefile make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.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.Movers.Examples.PumpExampleCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Movers.Examples.PumpExampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Movers.Examples.PumpExampleCalcHelperMain.o] Error 1