Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve.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.Book.SimpleExamples.PressureLoss.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6842/0.6842, allocations: 150.8 MB / 166.7 MB, free: 15.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 9.869e-06/9.889e-06, allocations: 0 / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 31.98 MB / 237.4 MB, free: 5.43 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.Book.SimpleExamples.PressureLoss.TestThreeWayValve): time 1.31/1.429, allocations: 296.5 MB / 0.5214 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3876/1.817, allocations: 189.2 MB / 0.7062 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006164/1.817, allocations: 20.97 kB / 0.7062 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003439/1.818, allocations: 124.1 kB / 0.7063 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008862/1.819, allocations: 375.3 kB / 0.7067 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02019/1.839, allocations: 9.759 MB / 0.7162 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001111/1.84, allocations: 1.489 MB / 0.7177 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005775/1.841, allocations: 0.7758 MB / 0.7184 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/1.841, allocations: 465.9 kB / 0.7189 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/1.841, allocations: 0.5288 MB / 0.7194 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.314e-05/1.841, allocations: 58 kB / 0.7194 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02358/1.865, allocations: 20.25 MB / 0.7392 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000223/1.865, allocations: 222.5 kB / 0.7394 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006227/1.866, allocations: 0.6227 MB / 0.74 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008064/1.874, allocations: 7.781 MB / 0.7476 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/1.874, allocations: 0 / 0.7476 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/1.874, allocations: 3.531 kB / 0.7476 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.154e-05/1.874, allocations: 0 / 0.7476 GB, free: 15.32 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004024/1.878, allocations: 2.435 MB / 0.75 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/1.878, allocations: 8.25 kB / 0.75 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/1.878, allocations: 162.4 kB / 0.7502 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/1.879, allocations: 0.7147 MB / 0.7509 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/1.879, allocations: 100.1 kB / 0.751 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/1.879, allocations: 132.6 kB / 0.7511 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/1.881, allocations: 1.324 MB / 0.7524 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/1.881, allocations: 2.906 kB / 0.7524 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/1.881, allocations: 54 kB / 0.7524 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/1.881, allocations: 35.06 kB / 0.7525 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/1.882, allocations: 1.06 MB / 0.7535 GB, free: 12.72 MB / 0.5919 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.02076/1.903, allocations: 19.54 MB / 0.7726 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/1.904, allocations: 384.2 kB / 0.773 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/1.904, allocations: 182.8 kB / 0.7731 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3323/2.236, allocations: 182 MB / 0.9509 GB, free: 9.848 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/2.236, allocations: 33.75 kB / 0.9509 GB, free: 9.809 MB / 0.795 GB Notification: Performance of pre-optimization done (n=35): time 2.264e-06/2.236, allocations: 0 / 0.9509 GB, free: 9.809 MB / 0.795 GB Notification: Performance of matching and sorting (n=35): time 0.003959/2.24, allocations: 1.26 MB / 0.9521 GB, free: 8.734 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/2.24, allocations: 59.39 kB / 0.9522 GB, free: 8.664 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009849/2.241, allocations: 0.8406 MB / 0.953 GB, free: 8.02 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/2.241, allocations: 33.33 kB / 0.953 GB, free: 7.984 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/2.242, allocations: 0.6536 MB / 0.9537 GB, free: 7.477 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/2.242, allocations: 128.3 kB / 0.9538 GB, free: 7.371 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/2.242, allocations: 92.41 kB / 0.9539 GB, free: 7.309 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000133/2.242, allocations: 389.9 kB / 0.9543 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/2.243, allocations: 224.5 kB / 0.9545 GB, free: 6.809 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/2.243, allocations: 0.594 MB / 0.9551 GB, free: 6.152 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009563/2.244, allocations: 0.823 MB / 0.9559 GB, free: 5.402 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/2.244, allocations: 7.844 kB / 0.9559 GB, free: 5.398 MB / 0.795 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001519/2.246, allocations: 1.002 MB / 0.9568 GB, free: 4.719 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/2.246, allocations: 9.25 kB / 0.9569 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/2.246, allocations: 12 kB / 0.9569 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/2.248, allocations: 0.6382 MB / 0.9575 GB, free: 4.117 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/2.249, allocations: 142.2 kB / 0.9576 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/2.25, allocations: 0.9655 MB / 0.9586 GB, free: 3.18 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005377/2.25, allocations: 118.8 kB / 0.9587 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/2.25, allocations: 50.67 kB / 0.9587 GB, free: 3.031 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 24 (threeWayValve.VolumeA1.Cs2.ftype,SourceP1.C.ftype,threeWayValve.VolumeA1.Cs1.ftype,threeWayValve.VolumeA1.Ce2.ftype,threeWayValve.VolumeA1.Ce2.diff_on_1,threeWayValve.VolumeA1.fluids[1],threeWayValve.VolumeA1.Cs2.diff_on_2,threeWayValve.VolumeA1.Cs1.diff_on_2,threeWayValve.PerteDP1.C2.diff_on_1,PuitsP1.fluid,threeWayValve.Valve1.fluid,threeWayValve.Valve2.fluid,threeWayValve.PerteDP1.fluid,PuitsP2.fluid,threeWayValve.VolumeA1.fluid1,threeWayValve.fluid1,SourceP1.fluid1,threeWayValve.VolumeA1.Ce1.diff_on_2,SourceP1.C.diff_on_2,threeWayValve.VolumeA1.Cs2.diff_on_1,threeWayValve.C3.diff_on_1,threeWayValve.VolumeA1.Cs1.diff_on_1,threeWayValve.C2.diff_on_1,threeWayValve.VolumeA1.Ce2.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0003571/2.251, allocations: 315.1 kB / 0.959 GB, free: 2.816 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/2.251, allocations: 82.91 kB / 0.9591 GB, free: 2.734 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/2.252, allocations: 0.7039 MB / 0.9598 GB, free: 2.219 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/2.252, allocations: 4 kB / 0.9598 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/2.252, allocations: 0 / 0.9598 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/2.252, allocations: 0 / 0.9598 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000895/2.253, allocations: 0.8314 MB / 0.9606 GB, free: 1.367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/2.253, allocations: 0 / 0.9606 GB, free: 1.367 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/2.253, allocations: 26.89 kB / 0.9606 GB, free: 1.344 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/2.255, allocations: 497.5 kB / 0.9611 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/2.255, allocations: 8 kB / 0.9611 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/2.256, allocations: 0.9699 MB / 0.9621 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/2.256, allocations: 1.844 kB / 0.9621 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/2.257, allocations: 0.7262 MB / 0.9628 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/2.258, allocations: 219.9 kB / 0.963 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/2.258, allocations: 11.98 kB / 0.963 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/2.258, allocations: 15.98 kB / 0.963 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/2.258, allocations: 31.66 kB / 0.963 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/2.258, allocations: 15.98 kB / 0.9631 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005869/2.259, allocations: 0.537 MB / 0.9636 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/2.259, allocations: 0 / 0.9636 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003104/2.262, allocations: 1.65 MB / 0.9652 GB, free: 12.63 MB / 0.8106 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005283/2.267, allocations: 2.264 MB / 0.9674 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001196/2.268, allocations: 0.6123 MB / 0.968 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/2.268, allocations: 0.625 kB / 0.968 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005581/2.269, allocations: 242.1 kB / 0.9682 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008351/2.27, allocations: 187 kB / 0.9684 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/2.273, allocations: 2.175 MB / 0.9705 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/2.273, allocations: 1.047 MB / 0.9716 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/2.273, allocations: 59.44 kB / 0.9716 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of SimCode: time 7.21e-07/2.273, allocations: 4 kB / 0.9716 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.1792/2.453, allocations: 39.77 MB / 1.01 GB, free: 446.7 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve.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.Book.SimpleExamples.PressureLoss.TestThreeWayValveCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValveCalcHelperMain.o] Error 1