Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.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.TestRefP1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8583/0.8583, allocations: 150.9 MB / 166.6 MB, free: 14.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 15.97 kB / 204.7 MB, free: 10.13 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2025, allocations: 31.33 MB / 236 MB, free: 5.441 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.TestRefP1): time 1.718/1.921, allocations: 294 MB / 0.5176 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6193/2.54, allocations: 195 MB / 0.708 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006666/2.541, allocations: 9.188 kB / 0.708 GB, free: 3.516 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/RefP.mo:10:3-11: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/BoundaryConditions/RefP.mo:12:3-13: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/StaticCentrifugalPump.mo:63:3-64: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/StaticCentrifugalPump.mo:65:3-66: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/PressureLosses/LumpedStraightPipe.mo:54:3-55: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/PressureLosses/LumpedStraightPipe.mo:56:3-57: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/BoundaryConditions/Source.mo:53:3-54:52: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/Fluid/BoundaryConditions/RefQ.mo:10:3-11: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/BoundaryConditions/RefQ.mo:12:3-13:65:writable] Warning: Connector C2 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.0002881/2.541, allocations: 61.33 kB / 0.7081 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006172/2.542, allocations: 200.2 kB / 0.7083 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03574/2.578, allocations: 10.2 MB / 0.7183 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001217/2.579, allocations: 0.8008 MB / 0.719 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005261/2.579, allocations: 469.1 kB / 0.7195 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/2.58, allocations: 323.1 kB / 0.7198 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/2.58, allocations: 382.1 kB / 0.7202 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.057e-05/2.58, allocations: 60.69 kB / 0.7202 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04128/2.622, allocations: 19.09 MB / 0.7389 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004311/2.622, allocations: 159.2 kB / 0.739 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007258/2.623, allocations: 394.8 kB / 0.7394 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01608/2.639, allocations: 7.346 MB / 0.7466 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.669e-06/2.639, allocations: 4 kB / 0.7466 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/2.639, allocations: 0 / 0.7466 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.629e-05/2.639, allocations: 0 / 0.7466 GB, free: 0.5781 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.007857/2.647, allocations: 2.215 MB / 0.7487 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/2.647, allocations: 14.19 kB / 0.7487 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/2.647, allocations: 94.23 kB / 0.7488 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007516/2.648, allocations: 430.3 kB / 0.7492 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/2.648, allocations: 57.44 kB / 0.7493 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/2.648, allocations: 75.06 kB / 0.7494 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/2.65, allocations: 0.734 MB / 0.7501 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/2.65, allocations: 9 kB / 0.7501 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/2.65, allocations: 30 kB / 0.7501 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/2.65, allocations: 21.53 kB / 0.7501 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009932/2.651, allocations: 0.547 MB / 0.7507 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07351/2.724, allocations: 33.14 MB / 0.783 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/2.725, allocations: 309.2 kB / 0.7833 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/2.725, allocations: 116.9 kB / 0.7834 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7194/3.445, allocations: 250.2 MB / 1.028 GB, free: 453.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/3.445, allocations: 40.45 kB / 1.028 GB, free: 453.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 2.655e-06/3.445, allocations: 0 / 1.028 GB, free: 453.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.005139/3.45, allocations: 1.111 MB / 1.029 GB, free: 453.4 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/3.45, allocations: 56.19 kB / 1.029 GB, free: 453.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/3.451, allocations: 487.3 kB / 1.029 GB, free: 453.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/3.451, allocations: 31.08 kB / 1.029 GB, free: 453.1 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/3.451, allocations: 361.9 kB / 1.03 GB, free: 453 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/3.451, allocations: 93.64 kB / 1.03 GB, free: 452.9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/3.451, allocations: 99.23 kB / 1.03 GB, free: 452.9 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/3.451, allocations: 354 kB / 1.03 GB, free: 452.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/3.451, allocations: 105.2 kB / 1.03 GB, free: 452.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/3.452, allocations: 215.2 kB / 1.031 GB, free: 452.4 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/3.452, allocations: 332.9 kB / 1.031 GB, free: 452.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/3.452, allocations: 0 / 1.031 GB, free: 452.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002177/3.454, allocations: 0.6648 MB / 1.032 GB, free: 452 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/3.454, allocations: 9.25 kB / 1.032 GB, free: 452 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/3.454, allocations: 2.031 kB / 1.032 GB, free: 452 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009304/3.455, allocations: 203.2 kB / 1.032 GB, free: 452 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/3.456, allocations: 58.03 kB / 1.032 GB, free: 452 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008337/3.456, allocations: 1.252 MB / 1.033 GB, free: 450.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/3.457, allocations: 61.12 kB / 1.033 GB, free: 450.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/3.457, allocations: 24.42 kB / 1.033 GB, free: 450.8 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 7 (source.C.ftype,pump.fluid,lumpedStraightPipe.fluid,sink.fluid,source.fluid1,refQ.C1.diff_on_2,lumpedStraightPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {(1,4), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002416/3.457, allocations: 187.9 kB / 1.033 GB, free: 450.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/3.457, allocations: 47.91 kB / 1.033 GB, free: 450.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/3.459, allocations: 0.5807 MB / 1.034 GB, free: 450.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/3.459, allocations: 2.688 kB / 1.034 GB, free: 450.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/3.459, allocations: 0 / 1.034 GB, free: 450.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/3.459, allocations: 4 kB / 1.034 GB, free: 450.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000637/3.46, allocations: 0.5321 MB / 1.034 GB, free: 450.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/3.46, allocations: 3.938 kB / 1.034 GB, free: 450.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.677e-05/3.46, allocations: 22.42 kB / 1.034 GB, free: 450.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007803/3.461, allocations: 201.4 kB / 1.035 GB, free: 450.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/3.461, allocations: 11.58 kB / 1.035 GB, free: 450.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007267/3.462, allocations: 1.234 MB / 1.036 GB, free: 449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/3.462, allocations: 0 / 1.036 GB, free: 449 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/3.463, allocations: 0.6232 MB / 1.036 GB, free: 448.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/3.464, allocations: 153.8 kB / 1.037 GB, free: 448.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/3.464, allocations: 3.188 kB / 1.037 GB, free: 448.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/3.464, allocations: 11.06 kB / 1.037 GB, free: 448.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/3.464, allocations: 26.48 kB / 1.037 GB, free: 448.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/3.464, allocations: 7.844 kB / 1.037 GB, free: 448.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003082/3.464, allocations: 332.1 kB / 1.037 GB, free: 448.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/3.464, allocations: 0 / 1.037 GB, free: 448.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004913/3.469, allocations: 1.687 MB / 1.039 GB, free: 448.2 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 12 * 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 {(1,4), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009497/3.479, allocations: 2.609 MB / 1.041 GB, free: 446.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009323/3.48, allocations: 295.2 kB / 1.041 GB, free: 445.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/3.48, allocations: 0 / 1.041 GB, free: 445.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003494/3.48, allocations: 143.2 kB / 1.042 GB, free: 445.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/3.481, allocations: 91.75 kB / 1.042 GB, free: 445.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/3.483, allocations: 1.26 MB / 1.043 GB, free: 444.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/3.483, allocations: 0.8811 MB / 1.044 GB, free: 443.6 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/3.483, allocations: 39.44 kB / 1.044 GB, free: 443.6 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/3.483, allocations: 0 / 1.044 GB, free: 443.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.04664/3.53, allocations: 37.42 MB / 1.08 GB, free: 407 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.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.TestRefP1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1CalcHelperMain.o] Error 1