Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007221/0.0007221, allocations: 100.1 kB / 15.71 MB, free: 448 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.0008151/0.0008152, allocations: 176 kB / 16.59 MB, free: 6.426 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.225/1.225, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8449/0.8449, allocations: 135.3 MB / 427 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 12 kB / 0.5076 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1392, allocations: 82.31 MB / 0.588 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01557/0.1548, allocations: 17.79 MB / 0.6054 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2726/0.4275, allocations: 4.83 MB / 0.6101 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009687/0.4285, allocations: 21.47 kB / 0.6101 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.4293, allocations: 186.1 kB / 0.6103 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.4311, allocations: 0.6229 MB / 0.6109 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.4329, allocations: 0.7365 MB / 0.6116 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.4343, allocations: 1.682 MB / 0.6133 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004436/0.4348, allocations: 409.4 kB / 0.6137 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006507/0.4354, allocations: 0.5442 MB / 0.6142 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/0.4359, allocations: 497.9 kB / 0.6147 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.223e-05/0.436, allocations: 29 kB / 0.6147 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009702/0.437, allocations: 0.5981 MB / 0.6153 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.4371, allocations: 124.5 kB / 0.6154 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.4372, allocations: 154.4 kB / 0.6155 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005638/0.4378, allocations: 0.748 MB / 0.6163 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4378, allocations: 4 kB / 0.6163 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4378, allocations: 0 / 0.6163 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4378, allocations: 0 / 0.6163 GB, free: 34.09 MB / 0.4981 GB 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.001395/0.4392, allocations: 1.001 MB / 0.6172 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4393, allocations: 8.656 kB / 0.6173 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.4394, allocations: 85.48 kB / 0.6173 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/0.44, allocations: 480.3 kB / 0.6178 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.44, allocations: 36.59 kB / 0.6178 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/0.4401, allocations: 48.31 kB / 0.6179 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.4409, allocations: 0.6337 MB / 0.6185 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.441, allocations: 3.938 kB / 0.6185 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.441, allocations: 21.03 kB / 0.6185 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.441, allocations: 13.84 kB / 0.6185 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008629/0.4419, allocations: 0.5137 MB / 0.619 GB, free: 32.91 MB / 0.4981 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.002377/0.4443, allocations: 3.197 MB / 0.6222 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.4449, allocations: 360.2 kB / 0.6225 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.4453, allocations: 239.5 kB / 0.6227 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/0.4456, allocations: 355.2 kB / 0.6231 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.4456, allocations: 42.34 kB / 0.6231 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.814e-06/0.4456, allocations: 0 / 0.6231 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001751/0.4473, allocations: 0.8628 MB / 0.6239 GB, free: 30 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.4474, allocations: 54.47 kB / 0.624 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/0.4479, allocations: 0.5866 MB / 0.6246 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.4479, allocations: 35.64 kB / 0.6246 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.4481, allocations: 320 kB / 0.6249 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.4482, allocations: 130.8 kB / 0.625 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.4482, allocations: 13.31 kB / 0.6251 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.4483, allocations: 384.5 kB / 0.6254 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/0.4487, allocations: 216.4 kB / 0.6256 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.4492, allocations: 374.5 kB / 0.626 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.4496, allocations: 254.9 kB / 0.6262 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4496, allocations: 5.625 kB / 0.6262 GB, free: 29.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001123/0.4508, allocations: 0.7278 MB / 0.6269 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.056e-05/0.4508, allocations: 224.8 kB / 0.6272 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.4509, allocations: 5.938 kB / 0.6272 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004815/0.4513, allocations: 149.8 kB / 0.6273 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/0.4519, allocations: 155.1 kB / 0.6275 GB, free: 28.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004409/0.4524, allocations: 0.6291 MB / 0.6281 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.4529, allocations: 104.5 kB / 0.6282 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.4529, allocations: 30.78 kB / 0.6282 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.74e-06/0.4529, allocations: 5.156 kB / 0.6282 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.4539, allocations: 0.622 MB / 0.6288 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.454, allocations: 5.844 kB / 0.6288 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/0.454, allocations: 5.594 kB / 0.6288 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005029/0.4545, allocations: 163.4 kB / 0.629 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.4545, allocations: 23.89 kB / 0.629 GB, free: 28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.4549, allocations: 93.94 kB / 0.6291 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.455, allocations: 34.78 kB / 0.6291 GB, free: 27.97 MB / 0.4981 GB 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.0002271/0.4552, allocations: 267 kB / 0.6294 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.4553, allocations: 59.53 kB / 0.6294 GB, free: 27.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.4565, allocations: 0.6721 MB / 0.6301 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.4565, allocations: 6.844 kB / 0.6301 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4565, allocations: 3.953 kB / 0.6301 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4565, allocations: 3.562 kB / 0.6301 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.4584, allocations: 1.403 MB / 0.6315 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4584, allocations: 4.094 kB / 0.6315 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.4587, allocations: 89.11 kB / 0.6316 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003195/0.459, allocations: 130 kB / 0.6317 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.4591, allocations: 14.66 kB / 0.6317 GB, free: 27.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004167/0.4595, allocations: 0.6446 MB / 0.6323 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4595, allocations: 0 / 0.6323 GB, free: 26.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.4605, allocations: 0.7241 MB / 0.633 GB, free: 26.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.4607, allocations: 206 kB / 0.6332 GB, free: 26.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-05/0.4608, allocations: 10.7 kB / 0.6332 GB, free: 26.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.4612, allocations: 55.62 kB / 0.6333 GB, free: 26.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.4613, allocations: 35.45 kB / 0.6333 GB, free: 26.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.4613, allocations: 17.38 kB / 0.6333 GB, free: 26.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003442/0.4616, allocations: 394.7 kB / 0.6337 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4616, allocations: 4 kB / 0.6337 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009883/0.4626, allocations: 389.3 kB / 0.6341 GB, free: 26.19 MB / 0.4981 GB 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.0005592/0.4632, allocations: 300.7 kB / 0.6344 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.4649, allocations: 0.9105 MB / 0.6353 GB, free: 26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4649, allocations: 0 / 0.6353 GB, free: 26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.4655, allocations: 303.4 kB / 0.6356 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.4667, allocations: 267.9 kB / 0.6358 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.4682, allocations: 1.327 MB / 0.6371 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.4685, allocations: 0.9184 MB / 0.638 GB, free: 24.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.4687, allocations: 65.92 kB / 0.6381 GB, free: 24.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4687, allocations: 0 / 0.6381 GB, free: 24.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.02115/0.4898, allocations: 12.96 MB / 0.6507 GB, free: 23.18 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.o] Error 1