Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiser.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.TestDynamicTwoPhaseFlowRiser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7274/0.7274, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.531e-05/1.531e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1414, allocations: 31.99 MB / 237.4 MB, free: 5.445 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiser): time 1.444/1.586, allocations: 296.1 MB / 0.521 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4526/2.038, allocations: 191.8 MB / 0.7082 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006925/2.039, allocations: 14.28 kB / 0.7083 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005728/2.039, allocations: 249.6 kB / 0.7085 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/2.041, allocations: 0.7012 MB / 0.7092 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02468/2.065, allocations: 10.08 MB / 0.719 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007436/2.073, allocations: 11.42 MB / 0.7302 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004497/2.077, allocations: 3.553 MB / 0.7337 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005277/2.082, allocations: 3.329 MB / 0.7369 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00673/2.089, allocations: 4.366 MB / 0.7412 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001306/2.091, allocations: 373.5 kB / 0.7415 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03583/2.126, allocations: 21.13 MB / 0.7622 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004093/2.131, allocations: 2.52 MB / 0.7646 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0066/2.137, allocations: 3.298 MB / 0.7678 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02096/2.158, allocations: 13.06 MB / 0.7806 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/2.158, allocations: 0 / 0.7806 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.164e-06/2.158, allocations: 0 / 0.7806 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001927/2.158, allocations: 0 / 0.7806 GB, free: 1.199 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1654 * Number of variables: 1654 Notification: Performance of Generate backend data structure: time 0.03425/2.193, allocations: 9.525 MB / 0.7899 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/2.193, allocations: 8.031 kB / 0.7899 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/2.195, allocations: 0.5832 MB / 0.7905 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004468/2.2, allocations: 2.407 MB / 0.7928 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002082/2.202, allocations: 1.922 MB / 0.7947 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/2.203, allocations: 453.4 kB / 0.7951 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02392/2.227, allocations: 12.34 MB / 0.8072 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-05/2.227, allocations: 0 / 0.8072 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006655/2.227, allocations: 188 kB / 0.8074 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/2.228, allocations: 167.9 kB / 0.8075 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03888/2.266, allocations: 18.01 MB / 0.8251 GB, free: 5.562 MB / 0.6387 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.06215/2.329, allocations: 39.1 MB / 0.8633 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03633/2.365, allocations: 14.2 MB / 0.8772 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02134/2.386, allocations: 9.674 MB / 0.8866 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09019/2.477, allocations: 53.8 MB / 0.9392 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/2.477, allocations: 104.4 kB / 0.9393 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1220): time 1.065e-05/2.477, allocations: 4 kB / 0.9393 GB, free: 7.879 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1220): time 0.3374/2.814, allocations: 46.18 MB / 0.9844 GB, free: 427.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/2.814, allocations: 126.5 kB / 0.9845 GB, free: 427.4 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/2.816, allocations: 1.378 MB / 0.9858 GB, free: 427.3 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001449/2.818, allocations: 146.3 kB / 0.986 GB, free: 427.3 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/2.818, allocations: 0.8097 MB / 0.9868 GB, free: 427.1 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.003494/2.822, allocations: 4.03 MB / 0.9907 GB, free: 424.4 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001877/2.823, allocations: 0.715 MB / 0.9914 GB, free: 424.4 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.665e-05/2.823, allocations: 305.1 kB / 0.9917 GB, free: 424.1 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01712/2.841, allocations: 8.261 MB / 0.9997 GB, free: 424.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01877/2.859, allocations: 9.091 MB / 1.009 GB, free: 423.6 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03596/2.895, allocations: 17.34 MB / 1.026 GB, free: 420.4 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.053e-05/2.895, allocations: 0 / 1.026 GB, free: 420.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=1281) (initialization): time 0.0549/2.95, allocations: 24.15 MB / 1.049 GB, free: 399.4 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/2.95, allocations: 11.98 kB / 1.049 GB, free: 399.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-05/2.951, allocations: 28 kB / 1.049 GB, free: 399.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05995/3.01, allocations: 26.15 MB / 1.075 GB, free: 373.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01159/3.022, allocations: 2.103 MB / 1.077 GB, free: 371 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04535/3.067, allocations: 45.72 MB / 1.121 GB, free: 322.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/3.078, allocations: 2.025 MB / 1.123 GB, free: 320.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001934/3.08, allocations: 347.6 kB / 1.124 GB, free: 320.2 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 (sourcePQ.C.ftype,dynamicTwoPhaseFlowRiser.fluid,sinkP.fluid,sourcePQ.fluid1,dynamicTwoPhaseFlowRiser.C1.diff_on_2,dynamicTwoPhaseFlowRiser.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (412): * Single equations (assignments): 379 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 21 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(23,327)} Notification: Performance of prepare postOptimizeDAE: time 0.004634/3.084, allocations: 1.463 MB / 1.125 GB, free: 318.8 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001801/3.086, allocations: 466.1 kB / 1.126 GB, free: 318.3 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05367/3.14, allocations: 26.48 MB / 1.151 GB, free: 291.7 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04725/3.187, allocations: 23.15 MB / 1.174 GB, free: 268.4 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-05/3.187, allocations: 13.31 kB / 1.174 GB, free: 268.4 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001179/3.187, allocations: 47.81 kB / 1.174 GB, free: 268.3 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09502/3.282, allocations: 42.8 MB / 1.216 GB, free: 225.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001554/3.283, allocations: 16 kB / 1.216 GB, free: 225.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01247/3.295, allocations: 2.606 MB / 1.218 GB, free: 222.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03399/3.329, allocations: 8.748 MB / 1.227 GB, free: 213.9 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002433/3.332, allocations: 315.6 kB / 1.227 GB, free: 213.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0384/3.37, allocations: 56.62 MB / 1.283 GB, free: 152.8 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/3.37, allocations: 8.156 kB / 1.283 GB, free: 152.8 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09278/3.463, allocations: 36.72 MB / 1.318 GB, free: 115.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004651/3.467, allocations: 2.029 MB / 1.32 GB, free: 113.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002165/3.47, allocations: 180 kB / 1.321 GB, free: 113.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009818/3.479, allocations: 1.549 MB / 1.322 GB, free: 112.1 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002568/3.482, allocations: 0.7171 MB / 1.323 GB, free: 111.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001802/3.484, allocations: 355.6 kB / 1.323 GB, free: 111 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001185/3.485, allocations: 0.9651 MB / 1.324 GB, free: 110 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.21e-07/3.485, allocations: 0 / 1.324 GB, free: 110 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01029/3.495, allocations: 3.82 MB / 1.328 GB, free: 106.4 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (dynamicTwoPhaseFlowRiser.P[2],dynamicTwoPhaseFlowRiser.P[3],dynamicTwoPhaseFlowRiser.P[4],dynamicTwoPhaseFlowRiser.P[5],dynamicTwoPhaseFlowRiser.P[6],dynamicTwoPhaseFlowRiser.P[7],dynamicTwoPhaseFlowRiser.P[8],dynamicTwoPhaseFlowRiser.P[9],dynamicTwoPhaseFlowRiser.P[10],dynamicTwoPhaseFlowRiser.P[11],dynamicTwoPhaseFlowRiser.h[2],dynamicTwoPhaseFlowRiser.h[3],dynamicTwoPhaseFlowRiser.h[4],dynamicTwoPhaseFlowRiser.h[5],dynamicTwoPhaseFlowRiser.h[6],dynamicTwoPhaseFlowRiser.h[7],dynamicTwoPhaseFlowRiser.h[8],dynamicTwoPhaseFlowRiser.h[9],dynamicTwoPhaseFlowRiser.h[10],dynamicTwoPhaseFlowRiser.h[11]) * 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 (767): * Single equations (assignments): 693 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 33 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 30 systems {(1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 11 systems {(1,15), (1,15), (1,15), (1,15), (1,15), (1,15), (1,15), (1,15), (1,15), (1,15), (1,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008401/3.504, allocations: 2.672 MB / 1.33 GB, free: 104.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.04414/3.548, allocations: 24.5 MB / 1.354 GB, free: 78.87 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/3.548, allocations: 0.5625 kB / 1.354 GB, free: 78.87 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.02502/3.573, allocations: 14.97 MB / 1.369 GB, free: 63.39 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01133/3.584, allocations: 1.97 MB / 1.371 GB, free: 61.52 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06121/3.646, allocations: 30.14 MB / 1.4 GB, free: 31.54 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002618/3.648, allocations: 3.888 MB / 1.404 GB, free: 27.62 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003684/3.652, allocations: 0.616 MB / 1.405 GB, free: 27.01 MB / 0.795 GB Notification: Performance of SimCode: time 6.61e-07/3.652, allocations: 0 / 1.405 GB, free: 27.01 MB / 0.795 GB Notification: Performance of Templates: time 0.8463/4.498, allocations: 0.7581 GB / 2.163 GB, free: 73.45 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiser.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiser.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.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiserCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiserCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicTwoPhaseFlowRiserCalcHelperMain.o] Error 1