Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.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.Fluid.Examples.SimpleExamples.TestCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9444/0.9444, allocations: 150.8 MB / 166.6 MB, free: 14.71 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 15.97 kB / 204.7 MB, free: 10.15 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2469, allocations: 31.33 MB / 236 MB, free: 5.684 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.Fluid.Examples.SimpleExamples.TestCentrifugalPump1): time 1.862/2.109, allocations: 294.4 MB / 0.518 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7178/2.827, allocations: 189.3 MB / 0.7029 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009152/2.828, allocations: 15.38 kB / 0.7029 GB, free: 3.797 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:120:3-121:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:122:3-123:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:124:3-128:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/ElectroMechanics/BoundaryConditions/SourceAngularVelocity.mo:11:3-15:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:120:3-121:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:122:3-123:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:124:3-128:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004197/2.829, allocations: 74.36 kB / 0.703 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/2.83, allocations: 288.4 kB / 0.7032 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04309/2.873, allocations: 8.997 MB / 0.712 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001957/2.875, allocations: 1.095 MB / 0.7131 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000711/2.876, allocations: 0.5585 MB / 0.7136 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006675/2.876, allocations: 463.1 kB / 0.7141 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006126/2.877, allocations: 0.5078 MB / 0.7146 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/2.877, allocations: 63.22 kB / 0.7146 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03648/2.913, allocations: 16.77 MB / 0.731 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006375/2.914, allocations: 412.6 kB / 0.7314 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001107/2.915, allocations: 0.6958 MB / 0.7321 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01742/2.933, allocations: 6.762 MB / 0.7387 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.779e-06/2.933, allocations: 0 / 0.7387 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.324e-06/2.933, allocations: 0 / 0.7387 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.643e-05/2.933, allocations: 0 / 0.7387 GB, free: 2.152 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.009671/2.942, allocations: 2.978 MB / 0.7416 GB, free: 296 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/2.943, allocations: 10.97 kB / 0.7416 GB, free: 296 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/2.943, allocations: 214.1 kB / 0.7418 GB, free: 184 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/2.944, allocations: 0.8076 MB / 0.7426 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.578e-05/2.944, allocations: 70.69 kB / 0.7427 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/2.944, allocations: 91.25 kB / 0.7428 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/2.946, allocations: 1.33 MB / 0.7441 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/2.946, allocations: 7.359 kB / 0.7441 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/2.947, allocations: 40 kB / 0.7441 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/2.947, allocations: 24.03 kB / 0.7441 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/2.949, allocations: 1.379 MB / 0.7455 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1532/3.102, allocations: 66.46 MB / 0.8104 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/3.105, allocations: 1.637 MB / 0.812 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007924/3.105, allocations: 0.5102 MB / 0.8125 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2291/3.335, allocations: 110.5 MB / 0.9204 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.283e-05/3.335, allocations: 45.03 kB / 0.9205 GB, free: 7.215 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 3.617e-06/3.335, allocations: 1.203 kB / 0.9205 GB, free: 7.215 MB / 0.7637 GB Notification: Performance of matching and sorting (n=53): time 0.008155/3.343, allocations: 2.789 MB / 0.9232 GB, free: 4.742 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/3.343, allocations: 84.02 kB / 0.9233 GB, free: 4.645 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003137/3.346, allocations: 1.711 MB / 0.9249 GB, free: 3.285 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/3.346, allocations: 36.64 kB / 0.925 GB, free: 3.25 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/3.347, allocations: 0.8597 MB / 0.9258 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/3.347, allocations: 193.1 kB / 0.926 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003051/3.348, allocations: 162.7 kB / 0.9262 GB, free: 2.562 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001528/3.348, allocations: 335.6 kB / 0.9265 GB, free: 2.238 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008855/3.349, allocations: 0.5104 MB / 0.927 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/3.35, allocations: 0.7558 MB / 0.9277 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/3.352, allocations: 1.286 MB / 0.929 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/3.352, allocations: 4 kB / 0.929 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003441/3.355, allocations: 1.83 MB / 0.9308 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/3.355, allocations: 8 kB / 0.9308 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/3.355, allocations: 8 kB / 0.9308 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008425/3.364, allocations: 1.447 MB / 0.9322 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/3.364, allocations: 128.8 kB / 0.9323 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/3.367, allocations: 2.339 MB / 0.9346 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/3.368, allocations: 124.1 kB / 0.9347 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/3.368, allocations: 36.92 kB / 0.9347 GB, free: 10.86 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 12 (sourcePQ1.C.ftype,centrifugalPump1.fluid,sink1.fluid,sourcePQ1.fluid1,sourcePQ.C.ftype,centrifugalPump.fluid,sink.fluid,sourcePQ.fluid1,sourcePQ1.C.diff_on_2,centrifugalPump1.C2.diff_on_1,sourcePQ.C.diff_on_2,centrifugalPump.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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 {(2,13), (2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0008307/3.369, allocations: 417.3 kB / 0.9351 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005655/3.37, allocations: 177.7 kB / 0.9353 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/3.373, allocations: 1.68 MB / 0.937 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/3.373, allocations: 8 kB / 0.937 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/3.373, allocations: 0 / 0.937 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/3.373, allocations: 0 / 0.937 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004882/3.378, allocations: 2.938 MB / 0.9398 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/3.378, allocations: 0 / 0.9398 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/3.378, allocations: 66.86 kB / 0.9399 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005835/3.384, allocations: 1.154 MB / 0.941 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/3.384, allocations: 15.98 kB / 0.941 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/3.387, allocations: 2.355 MB / 0.9433 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/3.387, allocations: 0 / 0.9433 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002999/3.39, allocations: 1.753 MB / 0.945 GB, free: 0.5742 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006516/3.391, allocations: 274.7 kB / 0.9453 GB, free: 292 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/3.391, allocations: 12 kB / 0.9453 GB, free: 280 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006725/3.392, allocations: 31.91 kB / 0.9453 GB, free: 248 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/3.392, allocations: 31.95 kB / 0.9454 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/3.392, allocations: 19.98 kB / 0.9454 GB, free: 196 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002208/3.394, allocations: 1.148 MB / 0.9465 GB, free: 15.02 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.41e-07/3.394, allocations: 4 kB / 0.9465 GB, free: 15.02 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00612/3.4, allocations: 1.448 MB / 0.9479 GB, free: 13.57 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (25): * Single equations (assignments): 23 * 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 {(2,15), (2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01015/3.41, allocations: 2.004 MB / 0.9499 GB, free: 11.82 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002489/3.413, allocations: 1.23 MB / 0.9511 GB, free: 10.62 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/3.413, allocations: 1.188 kB / 0.9511 GB, free: 10.62 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/3.414, allocations: 0.6121 MB / 0.9517 GB, free: 10.02 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/3.415, allocations: 178.8 kB / 0.9519 GB, free: 9.836 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/3.422, allocations: 3.637 MB / 0.9554 GB, free: 6.164 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/3.423, allocations: 1.327 MB / 0.9567 GB, free: 4.812 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/3.423, allocations: 48.53 kB / 0.9568 GB, free: 4.766 MB / 0.795 GB Notification: Performance of SimCode: time 7.01e-07/3.423, allocations: 4 kB / 0.9568 GB, free: 4.762 MB / 0.795 GB Notification: Performance of Templates: time 0.338/3.761, allocations: 46.71 MB / 1.002 GB, free: 445.4 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.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 OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1CalcHelperMain.o] Error 1