Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007487/0.0007489, allocations: 98.97 kB / 15.71 MB, free: 452 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.0008723/0.0008723, allocations: 173.5 kB / 16.58 MB, free: 6.418 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.411/1.411, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7884/0.7884, allocations: 132.3 MB / 424 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 12 kB / 0.504 GB, free: 4.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5514/0.5518, allocations: 81.58 MB / 0.5837 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.02244/0.5743, allocations: 17.79 MB / 0.6011 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008653/0.583, allocations: 4.856 MB / 0.6058 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.5841, allocations: 16.53 kB / 0.6058 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008323/0.585, allocations: 188.6 kB / 0.606 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.5873, allocations: 0.6265 MB / 0.6066 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.5899, allocations: 0.7373 MB / 0.6073 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002625/0.5925, allocations: 1.676 MB / 0.609 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007341/0.5933, allocations: 412.4 kB / 0.6093 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.5945, allocations: 0.5445 MB / 0.6099 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007706/0.5953, allocations: 0.4917 MB / 0.6104 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.264e-05/0.5954, allocations: 28.09 kB / 0.6104 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.5968, allocations: 0.5944 MB / 0.611 GB, free: 396 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.597, allocations: 126.4 kB / 0.6111 GB, free: 296 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.5973, allocations: 157.8 kB / 0.6112 GB, free: 200 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.5983, allocations: 0.7428 MB / 0.612 GB, free: 15.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5983, allocations: 3.938 kB / 0.612 GB, free: 15.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5983, allocations: 0 / 0.612 GB, free: 15.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.5983, allocations: 1.188 kB / 0.612 GB, free: 15.71 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001872/0.6002, allocations: 0.9971 MB / 0.6129 GB, free: 14.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.6003, allocations: 8.438 kB / 0.613 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.6004, allocations: 91.25 kB / 0.613 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007989/0.6012, allocations: 481.5 kB / 0.6135 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.6013, allocations: 37.09 kB / 0.6135 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.641e-05/0.6014, allocations: 48.16 kB / 0.6136 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.6026, allocations: 0.6455 MB / 0.6142 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.6026, allocations: 2.25 kB / 0.6142 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/0.6027, allocations: 17.5 kB / 0.6142 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.6027, allocations: 12.38 kB / 0.6142 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.6038, allocations: 0.5125 MB / 0.6147 GB, free: 13.71 MB / 462.1 MB 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.003866/0.6077, allocations: 3.204 MB / 0.6179 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/0.6085, allocations: 359.4 kB / 0.6182 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.609, allocations: 233.8 kB / 0.6184 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/0.6094, allocations: 356.7 kB / 0.6188 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.6095, allocations: 36.59 kB / 0.6188 GB, free: 10.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.966e-06/0.6095, allocations: 0 / 0.6188 GB, free: 10.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002301/0.6118, allocations: 0.8598 MB / 0.6197 GB, free: 9.566 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.6118, allocations: 55.56 kB / 0.6197 GB, free: 9.504 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008003/0.6127, allocations: 0.5855 MB / 0.6203 GB, free: 9.145 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.6127, allocations: 31.8 kB / 0.6203 GB, free: 9.109 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.613, allocations: 337 kB / 0.6206 GB, free: 8.812 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.6131, allocations: 126 kB / 0.6207 GB, free: 8.703 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.6132, allocations: 15.22 kB / 0.6208 GB, free: 8.691 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.6134, allocations: 371.8 kB / 0.6211 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.6139, allocations: 221 kB / 0.6213 GB, free: 8.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/0.6145, allocations: 370.9 kB / 0.6217 GB, free: 7.957 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005813/0.6151, allocations: 257.4 kB / 0.6219 GB, free: 7.836 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.6151, allocations: 1.469 kB / 0.6219 GB, free: 7.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001515/0.6166, allocations: 0.7339 MB / 0.6226 GB, free: 7.473 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.6168, allocations: 227.1 kB / 0.6229 GB, free: 7.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.6168, allocations: 4.344 kB / 0.6229 GB, free: 7.199 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/0.6174, allocations: 161.9 kB / 0.623 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.6181, allocations: 155.9 kB / 0.6232 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006803/0.6188, allocations: 0.629 MB / 0.6238 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006943/0.6195, allocations: 106.1 kB / 0.6239 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/0.6196, allocations: 31.52 kB / 0.6239 GB, free: 6.438 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.6196, allocations: 7.578 kB / 0.6239 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001323/0.621, allocations: 0.6276 MB / 0.6245 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.621, allocations: 4 kB / 0.6245 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.621, allocations: 8 kB / 0.6245 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.6216, allocations: 163.8 kB / 0.6247 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.6216, allocations: 11.94 kB / 0.6247 GB, free: 5.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.6221, allocations: 83.58 kB / 0.6248 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/0.6222, allocations: 31.98 kB / 0.6248 GB, free: 5.773 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003642/0.6225, allocations: 274.5 kB / 0.6251 GB, free: 5.496 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.6227, allocations: 67.11 kB / 0.6251 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.6241, allocations: 0.674 MB / 0.6258 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.6241, allocations: 7.984 kB / 0.6258 GB, free: 4.738 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6242, allocations: 0 / 0.6258 GB, free: 4.738 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.6242, allocations: 0 / 0.6258 GB, free: 4.738 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.6266, allocations: 1.394 MB / 0.6272 GB, free: 3.273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/0.6266, allocations: 7.984 kB / 0.6272 GB, free: 3.266 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.627, allocations: 87.88 kB / 0.6273 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000378/0.6274, allocations: 128.8 kB / 0.6274 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.6274, allocations: 19.98 kB / 0.6274 GB, free: 3.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006259/0.6281, allocations: 0.6381 MB / 0.628 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6281, allocations: 8.016 kB / 0.628 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.6294, allocations: 0.7241 MB / 0.6287 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.6296, allocations: 200.1 kB / 0.6289 GB, free: 1.395 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.224e-05/0.6297, allocations: 8 kB / 0.6289 GB, free: 1.387 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.6301, allocations: 55.94 kB / 0.629 GB, free: 1.332 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/0.6302, allocations: 35.95 kB / 0.629 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.6303, allocations: 16 kB / 0.629 GB, free: 1.281 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004734/0.6307, allocations: 403 kB / 0.6294 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6308, allocations: 3.938 kB / 0.6294 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001218/0.632, allocations: 387.3 kB / 0.6298 GB, free: 0.5117 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006779/0.6327, allocations: 291.4 kB / 0.6301 GB, free: 228 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.6346, allocations: 0.9186 MB / 0.631 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6346, allocations: 0 / 0.631 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000652/0.6353, allocations: 299.8 kB / 0.6313 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.6367, allocations: 274.1 kB / 0.6315 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.6387, allocations: 1.323 MB / 0.6328 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.6392, allocations: 0.908 MB / 0.6337 GB, free: 12.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.6394, allocations: 63.41 kB / 0.6338 GB, free: 12.39 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6394, allocations: 4 kB / 0.6338 GB, free: 12.38 MB / 478.1 MB Notification: Performance of Templates: time 0.019/0.6584, allocations: 12.96 MB / 0.6464 GB, free: 15.54 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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.TwoWayValvePressureIndependentCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.o] Error 1