Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8093/0.8093, allocations: 150.8 MB / 166.6 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002948, allocations: 11.98 kB / 204.7 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1917, allocations: 31.33 MB / 236 MB, free: 5.676 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2): time 1.614/1.806, allocations: 293.5 MB / 0.5171 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.038/1.844, allocations: 34.09 MB / 0.5504 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/1.844, allocations: 0 / 0.5504 GB, free: 11.23 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:63:3-65:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:71:3-72:53:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:73:3-74:53:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:78:3-79:55:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:80:3-81:51:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004821/1.845, allocations: 125.4 kB / 0.5505 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002809/1.845, allocations: 146.8 kB / 0.5506 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02123/1.866, allocations: 6.475 MB / 0.557 GB, free: 4.484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009318/1.867, allocations: 0.6934 MB / 0.5577 GB, free: 3.785 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/1.867, allocations: 262.1 kB / 0.5579 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003503/1.868, allocations: 270.9 kB / 0.5582 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003073/1.868, allocations: 290.8 kB / 0.5584 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.407e-05/1.868, allocations: 35.94 kB / 0.5585 GB, free: 2.945 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0265/1.895, allocations: 14.9 MB / 0.573 GB, free: 4.027 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/1.895, allocations: 107.6 kB / 0.5731 GB, free: 3.922 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003572/1.895, allocations: 274.5 kB / 0.5734 GB, free: 3.652 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/1.906, allocations: 5.357 MB / 0.5786 GB, free: 14.28 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.906, allocations: 0 / 0.5786 GB, free: 14.28 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/1.906, allocations: 0 / 0.5786 GB, free: 14.28 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/1.906, allocations: 0 / 0.5786 GB, free: 14.28 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.006528/1.912, allocations: 1.795 MB / 0.5804 GB, free: 12.44 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/1.912, allocations: 12.03 kB / 0.5804 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/1.912, allocations: 59.28 kB / 0.5804 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/1.913, allocations: 343.1 kB / 0.5808 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.382e-05/1.913, allocations: 66.64 kB / 0.5808 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.66e-05/1.913, allocations: 40 kB / 0.5809 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/1.914, allocations: 0.6532 MB / 0.5815 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/1.914, allocations: 0 / 0.5815 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/1.914, allocations: 16 kB / 0.5815 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/1.914, allocations: 23.92 kB / 0.5815 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/1.916, allocations: 0.635 MB / 0.5822 GB, free: 10.52 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.003194/1.919, allocations: 3.13 MB / 0.5852 GB, free: 7.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/1.921, allocations: 0.5509 MB / 0.5858 GB, free: 6.531 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008217/1.922, allocations: 322.1 kB / 0.5861 GB, free: 6.215 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07349/1.995, allocations: 44.14 MB / 0.6292 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/1.996, allocations: 374.5 kB / 0.6295 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 4.418e-06/1.996, allocations: 4 kB / 0.6295 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.01044/2.007, allocations: 2.429 MB / 0.6319 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/2.007, allocations: 55.41 kB / 0.632 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/2.007, allocations: 337.4 kB / 0.6323 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/2.007, allocations: 37.7 kB / 0.6323 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/2.007, allocations: 224.9 kB / 0.6325 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/2.008, allocations: 228.6 kB / 0.6327 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/2.008, allocations: 118.1 kB / 0.6329 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000131/2.008, allocations: 354.8 kB / 0.6332 GB, free: 296 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007776/2.009, allocations: 277.3 kB / 0.6335 GB, free: 16 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008764/2.01, allocations: 429.2 kB / 0.6339 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006586/2.016, allocations: 1.722 MB / 0.6356 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/2.016, allocations: 0 / 0.6356 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004002/2.02, allocations: 1.189 MB / 0.6367 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/2.02, allocations: 8.312 kB / 0.6367 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/2.02, allocations: 19.81 kB / 0.6367 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003086/2.023, allocations: 0.7932 MB / 0.6375 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000745/2.024, allocations: 143.8 kB / 0.6377 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/2.026, allocations: 1.602 MB / 0.6392 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/2.026, allocations: 103.3 kB / 0.6393 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.691e-05/2.027, allocations: 27.92 kB / 0.6393 GB, free: 9.797 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,pulse.T0,VanneReglante1.C2.b,VanneReglante1.C1.a,Bache1.Cs1.b,Bache1.Ce2.a,Bache1.Cs2.b,Bache1.Ce1.a,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a,Bache1.Cs1.a,Bache1.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(7,16), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000276/2.027, allocations: 180.7 kB / 0.6395 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/2.027, allocations: 51.34 kB / 0.6396 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004314/2.031, allocations: 1.513 MB / 0.641 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002328/2.034, allocations: 1.049 MB / 0.6421 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/2.034, allocations: 4 kB / 0.6421 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/2.034, allocations: 3.984 kB / 0.6421 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/2.038, allocations: 2.196 MB / 0.6442 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/2.038, allocations: 0 / 0.6442 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008285/2.038, allocations: 167.8 kB / 0.6444 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002048/2.041, allocations: 0.719 MB / 0.6451 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/2.041, allocations: 23.98 kB / 0.6451 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/2.042, allocations: 1.641 MB / 0.6467 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/2.042, allocations: 7.938 kB / 0.6467 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/2.045, allocations: 1.655 MB / 0.6483 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/2.046, allocations: 188.1 kB / 0.6485 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/2.046, allocations: 16 kB / 0.6485 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/2.046, allocations: 67.84 kB / 0.6486 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/2.046, allocations: 56.56 kB / 0.6486 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/2.046, allocations: 20 kB / 0.6487 GB, free: 64 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002097/2.047, allocations: 227.2 kB / 0.6489 GB, free: 15.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/2.047, allocations: 0 / 0.6489 GB, free: 15.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003687/2.05, allocations: 1.155 MB / 0.65 GB, free: 14.68 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Bache1.z,Bache1.h) * Number of discrete variables: 2 ($whenCondition1,pulse.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(7,18), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004245/2.055, allocations: 1.629 MB / 0.6516 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002481/2.057, allocations: 0.9947 MB / 0.6526 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/2.057, allocations: 4.062 kB / 0.6526 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/2.058, allocations: 0.5265 MB / 0.6531 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009632/2.059, allocations: 177.3 kB / 0.6533 GB, free: 11.33 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/2.062, allocations: 1.653 MB / 0.6549 GB, free: 9.645 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/2.062, allocations: 0.9035 MB / 0.6557 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/2.062, allocations: 39.42 kB / 0.6558 GB, free: 8.672 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/2.062, allocations: 0 / 0.6558 GB, free: 8.672 MB / 0.545 GB Notification: Performance of Templates: time 0.03616/2.099, allocations: 29.99 MB / 0.6851 GB, free: 10.65 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump2CalcHelperMain.o] Error 1