Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008014/0.0008013, allocations: 103 kB / 15.71 MB, free: 460 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.0007804/0.0007804, allocations: 169.1 kB / 16.58 MB, free: 6.383 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.248/1.248, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8872/0.8872, allocations: 135.3 MB / 427 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 12.2 kB / 0.5076 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1493, allocations: 82.31 MB / 0.588 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.2794/0.4287, allocations: 28.27 MB / 0.6156 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009235/0.438, allocations: 10.15 MB / 0.6255 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008534/0.4389, allocations: 17.66 kB / 0.6255 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007447/0.4397, allocations: 279.9 kB / 0.6258 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.4416, allocations: 0.9262 MB / 0.6267 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.4433, allocations: 0.703 MB / 0.6274 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.4449, allocations: 2.405 MB / 0.6297 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.4455, allocations: 0.5258 MB / 0.6303 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.4466, allocations: 0.8293 MB / 0.6311 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005916/0.4472, allocations: 0.6293 MB / 0.6317 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.274e-05/0.4473, allocations: 29.09 kB / 0.6317 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008381/0.4482, allocations: 0.5176 MB / 0.6322 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.4483, allocations: 135.7 kB / 0.6323 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.4484, allocations: 177.9 kB / 0.6325 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005973/0.449, allocations: 0.7597 MB / 0.6333 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.449, allocations: 0 / 0.6333 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.449, allocations: 0 / 0.6333 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.449, allocations: 0 / 0.6333 GB, free: 29.59 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001167/0.4502, allocations: 1.027 MB / 0.6343 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.4502, allocations: 9.031 kB / 0.6343 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.4504, allocations: 97.95 kB / 0.6344 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.4509, allocations: 0.5309 MB / 0.6349 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.451, allocations: 39.38 kB / 0.6349 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.451, allocations: 52.94 kB / 0.635 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.4516, allocations: 419.2 kB / 0.6354 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4516, allocations: 4 kB / 0.6354 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.4517, allocations: 15.12 kB / 0.6354 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.4517, allocations: 13.12 kB / 0.6354 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004688/0.4522, allocations: 311.1 kB / 0.6357 GB, free: 28.12 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.00192/0.4541, allocations: 1.857 MB / 0.6375 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.4544, allocations: 180.4 kB / 0.6377 GB, free: 26.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.4545, allocations: 87.94 kB / 0.6378 GB, free: 26.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.4547, allocations: 340.7 kB / 0.6381 GB, free: 26.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.4547, allocations: 34.56 kB / 0.6381 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.4547, allocations: 0 / 0.6381 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0005402/0.4553, allocations: 324 kB / 0.6384 GB, free: 26.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/0.4553, allocations: 62.56 kB / 0.6385 GB, free: 26.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/0.4559, allocations: 0.6768 MB / 0.6391 GB, free: 25.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.4559, allocations: 32.33 kB / 0.6392 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.456, allocations: 360.4 kB / 0.6395 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.4561, allocations: 71 kB / 0.6396 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/0.4561, allocations: 8 kB / 0.6396 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.4562, allocations: 376.5 kB / 0.64 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.4564, allocations: 106.4 kB / 0.6401 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.4566, allocations: 176.4 kB / 0.6402 GB, free: 25.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.4568, allocations: 132.1 kB / 0.6404 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4568, allocations: 0 / 0.6404 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005175/0.4574, allocations: 393.2 kB / 0.6407 GB, free: 24.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.4574, allocations: 115.3 kB / 0.6408 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4574, allocations: 0 / 0.6408 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4574, allocations: 3 kB / 0.6408 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008383/0.4583, allocations: 163.3 kB / 0.641 GB, free: 24.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006658/0.4589, allocations: 2.362 MB / 0.6433 GB, free: 22.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.4594, allocations: 89.59 kB / 0.6434 GB, free: 22.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.4594, allocations: 13.03 kB / 0.6434 GB, free: 22.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-06/0.4595, allocations: 3.281 kB / 0.6434 GB, free: 22.25 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004424/0.4599, allocations: 293.8 kB / 0.6437 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/0.4599, allocations: 0 / 0.6437 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/0.4599, allocations: 2.781 kB / 0.6437 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.4603, allocations: 101.7 kB / 0.6438 GB, free: 22.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.4603, allocations: 7.484 kB / 0.6438 GB, free: 22.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.4607, allocations: 82.27 kB / 0.6439 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.4607, allocations: 18.25 kB / 0.6439 GB, free: 22.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.4609, allocations: 266.4 kB / 0.6441 GB, free: 21.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.461, allocations: 66 kB / 0.6442 GB, free: 21.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005176/0.4615, allocations: 319 kB / 0.6445 GB, free: 21.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.4615, allocations: 3.312 kB / 0.6445 GB, free: 21.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4615, allocations: 3.328 kB / 0.6445 GB, free: 21.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4615, allocations: 4 kB / 0.6445 GB, free: 21.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009273/0.4625, allocations: 0.9057 MB / 0.6454 GB, free: 21.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4625, allocations: 3.938 kB / 0.6454 GB, free: 21.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.4627, allocations: 79.14 kB / 0.6455 GB, free: 21.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4627, allocations: 0 / 0.6455 GB, free: 21.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.4628, allocations: 12.89 kB / 0.6455 GB, free: 21.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004954/0.4633, allocations: 2.353 MB / 0.6478 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4633, allocations: 4.219 kB / 0.6478 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.4637, allocations: 414.8 kB / 0.6482 GB, free: 18.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.4638, allocations: 180.5 kB / 0.6484 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.636e-05/0.4639, allocations: 2.688 kB / 0.6484 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.4642, allocations: 49.27 kB / 0.6484 GB, free: 18.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.4642, allocations: 18.52 kB / 0.6484 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.4643, allocations: 10.12 kB / 0.6484 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003908/0.4647, allocations: 472.6 kB / 0.6489 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4647, allocations: 6.781 kB / 0.6489 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006772/0.4653, allocations: 352 kB / 0.6492 GB, free: 18.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000348/0.4657, allocations: 245 kB / 0.6495 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.4669, allocations: 0.4955 MB / 0.65 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4669, allocations: 0 / 0.65 GB, free: 17.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.4672, allocations: 140.1 kB / 0.6501 GB, free: 17.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.4687, allocations: 370.3 kB / 0.6504 GB, free: 17.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.47, allocations: 1.374 MB / 0.6518 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.4703, allocations: 0.9365 MB / 0.6527 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.686e-05/0.4704, allocations: 52.88 kB / 0.6527 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4704, allocations: 0 / 0.6527 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.02409/0.4945, allocations: 22.01 MB / 0.6742 GB, free: 10.77 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterizationCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterizationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterizationCalcHelperMain.o] Error 1