Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001262, allocations: 102.7 kB / 15.71 MB, free: 460 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.00155/0.001551, allocations: 177.3 kB / 16.58 MB, free: 6.863 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.47/1.47, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.084/1.084, allocations: 135.3 MB / 427 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003835, allocations: 8 kB / 0.5076 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2092, allocations: 82.32 MB / 0.588 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.4699/0.6791, allocations: 28.03 MB / 0.6154 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.6928, allocations: 9.531 MB / 0.6247 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.6949, allocations: 32.47 kB / 0.6247 GB, free: 33 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.6968, allocations: 467 kB / 0.6251 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004241/0.7011, allocations: 1.199 MB / 0.6263 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.7043, allocations: 0.998 MB / 0.6273 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005089/0.7094, allocations: 3.249 MB / 0.6305 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.7108, allocations: 0.6951 MB / 0.6311 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.713, allocations: 0.9233 MB / 0.632 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.7142, allocations: 0.7414 MB / 0.6328 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.7143, allocations: 38.22 kB / 0.6328 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.7162, allocations: 0.5203 MB / 0.6333 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003778/0.7166, allocations: 266.6 kB / 0.6336 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.7171, allocations: 242.7 kB / 0.6338 GB, free: 29.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.7191, allocations: 1.36 MB / 0.6351 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.7191, allocations: 0 / 0.6351 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.276e-06/0.7191, allocations: 3.469 kB / 0.6351 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.7191, allocations: 0 / 0.6351 GB, free: 29.24 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002715/0.7218, allocations: 1.318 MB / 0.6364 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/0.7219, allocations: 12.81 kB / 0.6364 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.7231, allocations: 214.4 kB / 0.6366 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.7251, allocations: 0.9582 MB / 0.6376 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.7252, allocations: 52.67 kB / 0.6376 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.7254, allocations: 68.64 kB / 0.6377 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.7271, allocations: 0.7211 MB / 0.6384 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.7272, allocations: 0 / 0.6384 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.38e-05/0.7273, allocations: 26.25 kB / 0.6384 GB, free: 27.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.7273, allocations: 18.97 kB / 0.6384 GB, free: 27.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.7289, allocations: 0.5684 MB / 0.639 GB, free: 27.09 MB / 0.4981 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.004866/0.7338, allocations: 3.131 MB / 0.642 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.7351, allocations: 428.5 kB / 0.6425 GB, free: 24.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005993/0.7357, allocations: 215 kB / 0.6427 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002164/0.7379, allocations: 1.547 MB / 0.6442 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007558/0.7387, allocations: 262.7 kB / 0.6444 GB, free: 23.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002826/0.739, allocations: 55.44 kB / 0.6445 GB, free: 23.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 4.118e-06/0.739, allocations: 0 / 0.6445 GB, free: 23.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.001924/0.7409, allocations: 0.6221 MB / 0.6451 GB, free: 23.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.741, allocations: 59.94 kB / 0.6451 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.7423, allocations: 0.8796 MB / 0.646 GB, free: 22.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.7424, allocations: 39.64 kB / 0.646 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.7428, allocations: 493.7 kB / 0.6465 GB, free: 22.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.7429, allocations: 103.1 kB / 0.6466 GB, free: 22.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.743, allocations: 14.62 kB / 0.6466 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.7431, allocations: 333 kB / 0.6469 GB, free: 21.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/0.7437, allocations: 200.6 kB / 0.6471 GB, free: 21.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007346/0.7445, allocations: 420.1 kB / 0.6475 GB, free: 21.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000701/0.7452, allocations: 273.6 kB / 0.6478 GB, free: 21.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.7452, allocations: 2.562 kB / 0.6478 GB, free: 21.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00181/0.747, allocations: 0.726 MB / 0.6485 GB, free: 20.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/0.7472, allocations: 288.1 kB / 0.6488 GB, free: 20.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.7472, allocations: 5.375 kB / 0.6488 GB, free: 20.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/0.7473, allocations: 8.281 kB / 0.6488 GB, free: 20.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/0.748, allocations: 142.5 kB / 0.6489 GB, free: 20.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.748, allocations: 11.78 kB / 0.6489 GB, free: 20.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.7491, allocations: 80.09 kB / 0.649 GB, free: 20.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/0.7492, allocations: 36.44 kB / 0.649 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.7492, allocations: 2.594 kB / 0.649 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001287/0.7505, allocations: 0.5732 MB / 0.6496 GB, free: 20.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.7505, allocations: 5.969 kB / 0.6496 GB, free: 20.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.7506, allocations: 9.031 kB / 0.6496 GB, free: 20.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.7511, allocations: 126 kB / 0.6497 GB, free: 20.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.7511, allocations: 15.27 kB / 0.6498 GB, free: 20.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000904/0.752, allocations: 52.38 kB / 0.6498 GB, free: 20.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.743e-05/0.7521, allocations: 30.38 kB / 0.6498 GB, free: 20.29 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 1 * 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.0008329/0.753, allocations: 359.2 kB / 0.6502 GB, free: 20.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.7533, allocations: 101.8 kB / 0.6503 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.7555, allocations: 0.6262 MB / 0.6509 GB, free: 19.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.7555, allocations: 3.719 kB / 0.6509 GB, free: 19.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7556, allocations: 5.188 kB / 0.6509 GB, free: 19.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001549/0.7571, allocations: 0.6939 MB / 0.6516 GB, free: 19.25 MB / 0.4981 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 postOpt removeSimpleEquations (simulation): time 0.004292/0.7614, allocations: 1.473 MB / 0.653 GB, free: 18.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.7614, allocations: 2.062 kB / 0.653 GB, free: 18.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/0.7621, allocations: 91.98 kB / 0.6531 GB, free: 18.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/0.7621, allocations: 3.688 kB / 0.6531 GB, free: 18.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.7622, allocations: 11.16 kB / 0.6531 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/0.7622, allocations: 8.453 kB / 0.6531 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.7622, allocations: 1.656 kB / 0.6531 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.7649, allocations: 0.9187 MB / 0.654 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006182/0.7655, allocations: 219 kB / 0.6542 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.7659, allocations: 12.42 kB / 0.6542 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009458/0.7668, allocations: 56.56 kB / 0.6543 GB, free: 17.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.767, allocations: 31.36 kB / 0.6543 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.7671, allocations: 24.22 kB / 0.6544 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001751/0.7688, allocations: 0.6201 MB / 0.655 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7688, allocations: 1.094 kB / 0.655 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003473/0.7723, allocations: 0.5098 MB / 0.6555 GB, free: 17.38 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.002002/0.7743, allocations: 347.8 kB / 0.6558 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003775/0.7781, allocations: 0.8831 MB / 0.6567 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.7782, allocations: 0 / 0.6567 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009493/0.7791, allocations: 248 kB / 0.6569 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00412/0.7833, allocations: 483.9 kB / 0.6573 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.7877, allocations: 2.058 MB / 0.6594 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009149/0.7886, allocations: 1.047 MB / 0.6604 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/0.789, allocations: 85.47 kB / 0.6605 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.533e-06/0.789, allocations: 4 kB / 0.6605 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.0446/0.8336, allocations: 17.35 MB / 0.6774 GB, free: 9.992 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControlCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControlCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControlCalcHelperMain.o] Error 1