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.0008317/0.0008316, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009513/0.0009515, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7246/0.7246, allocations: 132.3 MB / 424.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003316, allocations: 12 kB / 0.5046 GB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4069, allocations: 81.58 MB / 0.5843 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01818/0.4251, allocations: 18.77 MB / 0.6026 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00771/0.4329, allocations: 5.125 MB / 0.6076 GB, free: 2.629 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.4339, allocations: 16.47 kB / 0.6076 GB, free: 2.621 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008087/0.4347, allocations: 205.3 kB / 0.6078 GB, free: 2.449 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.437, allocations: 0.7119 MB / 0.6085 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.4393, allocations: 0.7989 MB / 0.6093 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.4416, allocations: 1.933 MB / 0.6112 GB, free: 260 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006494/0.4422, allocations: 446.1 kB / 0.6116 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.4433, allocations: 0.5585 MB / 0.6122 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006531/0.4439, allocations: 0.5221 MB / 0.6127 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.162e-05/0.444, allocations: 28.81 kB / 0.6127 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.4452, allocations: 0.6552 MB / 0.6133 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.4454, allocations: 138.3 kB / 0.6135 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.4457, allocations: 377.5 kB / 0.6138 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008391/0.4466, allocations: 0.7561 MB / 0.6146 GB, free: 14.13 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4466, allocations: 0 / 0.6146 GB, free: 14.13 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4466, allocations: 1.25 kB / 0.6146 GB, free: 14.13 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.4466, allocations: 0 / 0.6146 GB, free: 14.13 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.001782/0.4484, allocations: 0.9897 MB / 0.6155 GB, free: 13.33 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4485, allocations: 13.97 kB / 0.6156 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.4486, allocations: 83.31 kB / 0.6156 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.4493, allocations: 0.4988 MB / 0.6161 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.4493, allocations: 40.16 kB / 0.6162 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.652e-05/0.4494, allocations: 49.09 kB / 0.6162 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.4506, allocations: 0.6378 MB / 0.6168 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.4506, allocations: 1.031 kB / 0.6168 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.4507, allocations: 21.47 kB / 0.6169 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.4507, allocations: 11.78 kB / 0.6169 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.4518, allocations: 0.5174 MB / 0.6174 GB, free: 12.11 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.003336/0.4551, allocations: 3.211 MB / 0.6205 GB, free: 9.145 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.4558, allocations: 354.6 kB / 0.6208 GB, free: 8.973 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.4563, allocations: 250.8 kB / 0.6211 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003253/0.4567, allocations: 345.2 kB / 0.6214 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.4567, allocations: 39.81 kB / 0.6215 GB, free: 8.414 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.033e-06/0.4567, allocations: 1.156 kB / 0.6215 GB, free: 8.414 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002159/0.4589, allocations: 0.8638 MB / 0.6223 GB, free: 7.957 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.4589, allocations: 60.47 kB / 0.6224 GB, free: 7.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006843/0.4596, allocations: 0.5821 MB / 0.6229 GB, free: 7.539 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.4597, allocations: 44.09 kB / 0.623 GB, free: 7.492 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.4599, allocations: 320.1 kB / 0.6233 GB, free: 7.211 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.475e-05/0.46, allocations: 143.3 kB / 0.6234 GB, free: 7.086 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/0.4601, allocations: 60.92 kB / 0.6235 GB, free: 7.039 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4602, allocations: 371.9 kB / 0.6238 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005042/0.4608, allocations: 226.2 kB / 0.624 GB, free: 6.582 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.4614, allocations: 386.2 kB / 0.6244 GB, free: 6.289 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.4625, allocations: 0.5968 MB / 0.625 GB, free: 5.895 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4625, allocations: 0 / 0.625 GB, free: 5.895 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001464/0.464, allocations: 0.7491 MB / 0.6257 GB, free: 5.324 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.4641, allocations: 219.1 kB / 0.6259 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4641, allocations: 4 kB / 0.6259 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.4648, allocations: 156.8 kB / 0.6261 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/0.4653, allocations: 147.8 kB / 0.6262 GB, free: 4.738 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005407/0.4659, allocations: 0.6264 MB / 0.6268 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.4665, allocations: 103.4 kB / 0.6269 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/0.4666, allocations: 31.98 kB / 0.627 GB, free: 3.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/0.4666, allocations: 6.031 kB / 0.627 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001186/0.4678, allocations: 0.6228 MB / 0.6276 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.4678, allocations: 4 kB / 0.6276 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.4678, allocations: 8.562 kB / 0.6276 GB, free: 3.312 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.4684, allocations: 167.7 kB / 0.6277 GB, free: 3.148 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.4684, allocations: 8 kB / 0.6278 GB, free: 3.141 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/0.469, allocations: 91.47 kB / 0.6278 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.469, allocations: 32 kB / 0.6279 GB, free: 3.02 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 (69): * Single equations (assignments): 68 * 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002767/0.4693, allocations: 270.4 kB / 0.6281 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.104e-05/0.4694, allocations: 67.16 kB / 0.6282 GB, free: 2.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.4708, allocations: 0.6739 MB / 0.6289 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.4708, allocations: 4 kB / 0.6289 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4708, allocations: 3.938 kB / 0.6289 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4708, allocations: 3.938 kB / 0.6289 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.4732, allocations: 1.403 MB / 0.6302 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.4732, allocations: 4 kB / 0.6302 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.4735, allocations: 91.81 kB / 0.6303 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/0.4739, allocations: 136.9 kB / 0.6305 GB, free: 292 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.474, allocations: 19.92 kB / 0.6305 GB, free: 272 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005668/0.4746, allocations: 0.6342 MB / 0.6311 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4746, allocations: 4.031 kB / 0.6311 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.4758, allocations: 0.728 MB / 0.6318 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.4761, allocations: 200.1 kB / 0.632 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.201e-05/0.4762, allocations: 8 kB / 0.632 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.4766, allocations: 55.94 kB / 0.6321 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.4767, allocations: 35.89 kB / 0.6321 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.4767, allocations: 16 kB / 0.6321 GB, free: 14.51 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004076/0.4771, allocations: 407.1 kB / 0.6325 GB, free: 14.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4771, allocations: 0 / 0.6325 GB, free: 14.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00103/0.4782, allocations: 395.3 kB / 0.6329 GB, free: 13.73 MB / 478.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 (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 {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005768/0.4787, allocations: 300.4 kB / 0.6332 GB, free: 13.44 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.4805, allocations: 0.9051 MB / 0.634 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4806, allocations: 0.6875 kB / 0.634 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006597/0.4812, allocations: 303.7 kB / 0.6343 GB, free: 12.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.4827, allocations: 268.1 kB / 0.6346 GB, free: 11.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.4845, allocations: 1.365 MB / 0.6359 GB, free: 10.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.4849, allocations: 0.9119 MB / 0.6368 GB, free: 9.637 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.4851, allocations: 71.41 kB / 0.6369 GB, free: 9.566 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4851, allocations: 0 / 0.6369 GB, free: 9.566 MB / 478.1 MB Notification: Performance of Templates: time 0.01512/0.5002, allocations: 12.91 MB / 0.6495 GB, free: 12.77 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++ -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.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