Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 197.9 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.73/0.73, allocations: 132.2 MB / 422.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 60.59 kB / 0.5017 GB, free: 4.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5183/0.5196, allocations: 80.2 MB / 0.58 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1116/0.6313, allocations: 111.9 MB / 0.6893 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03036/0.6617, allocations: 20.3 MB / 0.7091 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005972/0.6677, allocations: 95.38 kB / 0.7092 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004547/0.6723, allocations: 1.045 MB / 0.7103 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01168/0.6841, allocations: 3.375 MB / 0.7135 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008271/0.6923, allocations: 2.852 MB / 0.7163 GB, free: 5.863 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01147/0.7038, allocations: 9.507 MB / 0.7256 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003694/0.7076, allocations: 2.148 MB / 0.7277 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005308/0.7129, allocations: 2.399 MB / 0.7301 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003802/0.7167, allocations: 2.127 MB / 0.7321 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004439/0.7172, allocations: 120 kB / 0.7323 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003527/0.7207, allocations: 1.474 MB / 0.7337 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006132/0.7213, allocations: 0.5639 MB / 0.7342 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001738/0.7231, allocations: 1.379 MB / 0.7356 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003633/0.7267, allocations: 3.387 MB / 0.7389 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7268, allocations: 0 / 0.7389 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7268, allocations: 3.938 kB / 0.7389 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.991e-05/0.7268, allocations: 3.938 kB / 0.7389 GB, free: 14.62 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.004866/0.7317, allocations: 3.233 MB / 0.7421 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.7317, allocations: 8.031 kB / 0.7421 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007179/0.7325, allocations: 320.3 kB / 0.7424 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/0.7356, allocations: 2.158 MB / 0.7445 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.652e-05/0.7357, allocations: 123 kB / 0.7446 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.7359, allocations: 168 kB / 0.7448 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.7385, allocations: 1.608 MB / 0.7463 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.7386, allocations: 0 / 0.7463 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.7387, allocations: 67.94 kB / 0.7464 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/0.7387, allocations: 43.94 kB / 0.7464 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.7407, allocations: 1.143 MB / 0.7476 GB, free: 5.551 MB / 0.5762 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.01006/0.7507, allocations: 7.889 MB / 0.7553 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/0.7515, allocations: 473.7 kB / 0.7557 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004766/0.752, allocations: 326.9 kB / 0.756 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/0.7527, allocations: 0.7563 MB / 0.7568 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.7527, allocations: 43.12 kB / 0.7568 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 3.927e-06/0.7527, allocations: 0 / 0.7568 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002141/0.7549, allocations: 0.988 MB / 0.7578 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.7549, allocations: 63.97 kB / 0.7578 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/0.7578, allocations: 2.308 MB / 0.7601 GB, free: 8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.7579, allocations: 49.7 kB / 0.7601 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008919/0.7588, allocations: 1.153 MB / 0.7613 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.759, allocations: 213 kB / 0.7615 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/0.7594, allocations: 258.6 kB / 0.7617 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7595, allocations: 353.9 kB / 0.762 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006394/0.7602, allocations: 361.9 kB / 0.7624 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000935/0.7611, allocations: 0.7502 MB / 0.7631 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.7625, allocations: 0.9746 MB / 0.7641 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.7625, allocations: 8 kB / 0.7641 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002293/0.7648, allocations: 1.291 MB / 0.7653 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.7649, allocations: 8 kB / 0.7653 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.7649, allocations: 8 kB / 0.7654 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.7649, allocations: 12.69 kB / 0.7654 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009554/0.7659, allocations: 259.6 kB / 0.7656 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.268e-05/0.7659, allocations: 23.97 kB / 0.7656 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.7676, allocations: 254 kB / 0.7659 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/0.7677, allocations: 51.98 kB / 0.7659 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001309/0.769, allocations: 0.7641 MB / 0.7667 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008819/0.7699, allocations: 0.7271 MB / 0.7674 GB, free: 44 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001302/0.7712, allocations: 0.9562 MB / 0.7683 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.154e-06/0.7712, allocations: 7.938 kB / 0.7683 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002128/0.7733, allocations: 1.255 MB / 0.7696 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.7734, allocations: 8 kB / 0.7696 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7734, allocations: 12 kB / 0.7696 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.7734, allocations: 12 kB / 0.7696 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008709/0.7743, allocations: 247.6 kB / 0.7698 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.7743, allocations: 19.92 kB / 0.7698 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.7759, allocations: 187.1 kB / 0.77 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/0.776, allocations: 55.98 kB / 0.7701 GB, free: 13.16 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 initialization (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002885/0.7763, allocations: 251.9 kB / 0.7703 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.7766, allocations: 229.1 kB / 0.7705 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.7782, allocations: 0.8965 MB / 0.7714 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.7783, allocations: 8 kB / 0.7714 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7783, allocations: 0 / 0.7714 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009928/0.7793, allocations: 0.6853 MB / 0.7721 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/0.783, allocations: 2.574 MB / 0.7746 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.783, allocations: 0 / 0.7746 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005093/0.7835, allocations: 127.8 kB / 0.7747 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.7835, allocations: 4 kB / 0.7747 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.7836, allocations: 20.09 kB / 0.7747 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.7836, allocations: 0 / 0.7747 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.7836, allocations: 7.938 kB / 0.7747 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.7855, allocations: 1.317 MB / 0.776 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007029/0.7862, allocations: 414 kB / 0.7764 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.7864, allocations: 12 kB / 0.7764 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.7875, allocations: 115.7 kB / 0.7765 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.715e-05/0.7876, allocations: 44.44 kB / 0.7766 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/0.7877, allocations: 31.98 kB / 0.7766 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002151/0.7898, allocations: 1.55 MB / 0.7781 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7898, allocations: 0 / 0.7781 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002664/0.7925, allocations: 1.111 MB / 0.7792 GB, free: 3.609 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00151/0.794, allocations: 0.7288 MB / 0.7799 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002441/0.7965, allocations: 1.358 MB / 0.7813 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.7965, allocations: 0 / 0.7813 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.797, allocations: 331 kB / 0.7816 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00566/0.8027, allocations: 1.375 MB / 0.7829 GB, free: 28 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005493/0.8082, allocations: 4.599 MB / 0.7874 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.8092, allocations: 1.586 MB / 0.789 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004465/0.8097, allocations: 179.4 kB / 0.7891 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of SimCode: time 6.81e-07/0.8097, allocations: 0 / 0.7891 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of Templates: time 0.3217/1.131, allocations: 39.53 MB / 0.8277 GB, free: 195.1 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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 OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o] Error 1