Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.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.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8478/0.8478, allocations: 150.8 MB / 166.6 MB, free: 14.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 15.97 kB / 204.7 MB, free: 9.676 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2107, allocations: 31.32 MB / 236 MB, free: 5.484 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.TestStaticCentrifugalPumpWaterSolution): time 1.629/1.839, allocations: 292.3 MB / 0.5159 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01569/1.855, allocations: 13.58 MB / 0.5292 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/1.855, allocations: 0 / 0.5292 GB, free: 0.8125 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/PressureLosses/SingularPressureLoss.mo:15:3-17:16: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/WaterSolution/PressureLosses/SingularPressureLoss.mo:18:3-19:83: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/WaterSolution/Machines/StaticCentrifugalPump.mo:46:3-48:16: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/WaterSolution/Machines/StaticCentrifugalPump.mo:49:3-50:83: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/WaterSolution/BoundaryConditions/SourcePQ.mo:9:3-10:83:writable] Warning: Connector Cs 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/WaterSolution/BoundaryConditions/Sink.mo:10:3-12:16:writable] Warning: Connector Ce 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.0001293/1.855, allocations: 28.91 kB / 0.5292 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/1.856, allocations: 47.56 kB / 0.5293 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005954/1.862, allocations: 2.555 MB / 0.5318 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/1.862, allocations: 253.3 kB / 0.532 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/1.862, allocations: 143.3 kB / 0.5321 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/1.862, allocations: 99.62 kB / 0.5322 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/1.862, allocations: 111.5 kB / 0.5323 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/1.862, allocations: 24.72 kB / 0.5324 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/1.873, allocations: 7.507 MB / 0.5397 GB, free: 6.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/1.873, allocations: 47.78 kB / 0.5397 GB, free: 6.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/1.873, allocations: 128 kB / 0.5399 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/1.875, allocations: 2.252 MB / 0.5421 GB, free: 3.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.875, allocations: 0 / 0.5421 GB, free: 3.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/1.875, allocations: 3.938 kB / 0.5421 GB, free: 3.656 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/1.875, allocations: 0 / 0.5421 GB, free: 3.656 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001613/1.877, allocations: 0.8034 MB / 0.5429 GB, free: 2.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.877, allocations: 8.031 kB / 0.5429 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/1.877, allocations: 34.5 kB / 0.5429 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/1.877, allocations: 240.3 kB / 0.5431 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/1.877, allocations: 20.94 kB / 0.5431 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/1.877, allocations: 24.38 kB / 0.5432 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/1.878, allocations: 295.3 kB / 0.5434 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.878, allocations: 3.938 kB / 0.5434 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/1.878, allocations: 12 kB / 0.5435 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/1.878, allocations: 8 kB / 0.5435 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/1.878, allocations: 181.5 kB / 0.5436 GB, free: 1.941 MB / 430.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.005335/1.884, allocations: 3.011 MB / 0.5466 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/1.884, allocations: 186.8 kB / 0.5468 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/1.885, allocations: 72.77 kB / 0.5468 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003774/1.888, allocations: 1.691 MB / 0.5485 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/1.889, allocations: 141 kB / 0.5486 GB, free: 12.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 3.467e-06/1.889, allocations: 0 / 0.5486 GB, free: 12.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.000661/1.889, allocations: 276.8 kB / 0.5489 GB, free: 12.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/1.889, allocations: 106.8 kB / 0.549 GB, free: 12.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/1.89, allocations: 262.5 kB / 0.5492 GB, free: 11.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/1.89, allocations: 33.7 kB / 0.5493 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.89, allocations: 168.1 kB / 0.5494 GB, free: 11.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/1.89, allocations: 47.27 kB / 0.5495 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/1.89, allocations: 53.7 kB / 0.5495 GB, free: 11.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/1.89, allocations: 338.8 kB / 0.5498 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/1.89, allocations: 60.19 kB / 0.5499 GB, free: 11.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/1.89, allocations: 129.1 kB / 0.55 GB, free: 10.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/1.893, allocations: 0.6253 MB / 0.5506 GB, free: 10.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.893, allocations: 0 / 0.5506 GB, free: 10.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005023/1.893, allocations: 274.8 kB / 0.5509 GB, free: 9.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/1.894, allocations: 37.62 kB / 0.5509 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.894, allocations: 4 kB / 0.5509 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.894, allocations: 8.219 kB / 0.5509 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.895, allocations: 214.2 kB / 0.5511 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003421/1.895, allocations: 0.5976 MB / 0.5517 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/1.896, allocations: 35.73 kB / 0.5518 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/1.896, allocations: 11.98 kB / 0.5518 GB, free: 9.066 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Pulse1.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,$PRE.Pulse1.T0,pulse.T0,Pulse1.yL.signal,Pulse1.T0,$whenCondition2,sinkSolution.Ce.a,sourceSolution.Cs.b,staticCentrifugalPumpWaterLiBr.C2.b,staticCentrifugalPumpWaterLiBr.C1.a,singularPressureLossWaterLiBr.C2.b,singularPressureLossWaterLiBr.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002114/1.896, allocations: 179.5 kB / 0.5519 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/1.896, allocations: 23.72 kB / 0.552 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/1.896, allocations: 242.5 kB / 0.5522 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.896, allocations: 4 kB / 0.5522 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.896, allocations: 3.938 kB / 0.5522 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.896, allocations: 0 / 0.5522 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/1.897, allocations: 285.4 kB / 0.5525 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.897, allocations: 4 kB / 0.5525 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/1.898, allocations: 199.7 kB / 0.5527 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.898, allocations: 0 / 0.5527 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/1.898, allocations: 4 kB / 0.5527 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002823/1.898, allocations: 0.6015 MB / 0.5533 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.898, allocations: 0 / 0.5533 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/1.899, allocations: 244.9 kB / 0.5535 GB, free: 7.176 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/1.899, allocations: 124.8 kB / 0.5536 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/1.899, allocations: 8 kB / 0.5536 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/1.899, allocations: 15.92 kB / 0.5536 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/1.899, allocations: 23.91 kB / 0.5537 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/1.899, allocations: 4 kB / 0.5537 GB, free: 6.984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001612/1.899, allocations: 186 kB / 0.5538 GB, free: 6.801 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.899, allocations: 0 / 0.5538 GB, free: 6.801 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001092/1.901, allocations: 395.8 kB / 0.5542 GB, free: 6.414 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,Pulse1.T0,Pulse1.yL.signal,pulse.T0) * Number of discrete states: 3 (Pulse1.yL.signal,Pulse1.T0,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001863/1.902, allocations: 0.4929 MB / 0.5547 GB, free: 5.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01025/1.913, allocations: 0.8964 MB / 0.5556 GB, free: 5.012 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.913, allocations: 0 / 0.5556 GB, free: 5.012 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008768/1.922, allocations: 0.6521 MB / 0.5562 GB, free: 4.348 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/1.922, allocations: 50.55 kB / 0.5563 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/1.923, allocations: 0.5369 MB / 0.5568 GB, free: 3.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/1.923, allocations: 0.7482 MB / 0.5575 GB, free: 2.957 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.526e-05/1.923, allocations: 27.42 kB / 0.5575 GB, free: 2.93 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/1.923, allocations: 0 / 0.5575 GB, free: 2.93 MB / 446.1 MB Notification: Performance of Templates: time 0.01623/1.94, allocations: 10.22 MB / 0.5675 GB, free: 8.742 MB / 462.1 MB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.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.TestStaticCentrifugalPumpWaterSolutionCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolutionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolutionCalcHelperMain.o] Error 1