Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0007598/0.0007597, allocations: 92.7 kB / 16.02 MB, free: 80 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.0009413/0.0009414, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.282/1.282, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6937/0.6937, allocations: 132.3 MB / 424.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 8 kB / 0.5046 GB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4369, allocations: 81.58 MB / 0.5843 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.0327/0.4697, allocations: 29.87 MB / 0.6135 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.4857, allocations: 10.72 MB / 0.6239 GB, free: 5.242 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.4873, allocations: 23.75 kB / 0.624 GB, free: 5.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.4883, allocations: 306.2 kB / 0.6242 GB, free: 4.977 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.4915, allocations: 1.068 MB / 0.6253 GB, free: 4.121 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.4937, allocations: 0.7709 MB / 0.626 GB, free: 3.559 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003573/0.4973, allocations: 2.827 MB / 0.6288 GB, free: 2.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.4983, allocations: 0.5607 MB / 0.6294 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.5005, allocations: 0.8896 MB / 0.6302 GB, free: 1.145 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.5015, allocations: 0.6645 MB / 0.6309 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.049e-05/0.5016, allocations: 32 kB / 0.6309 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.5029, allocations: 0.5731 MB / 0.6315 GB, free: 56 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.503, allocations: 139.4 kB / 0.6316 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004259/0.5035, allocations: 427.4 kB / 0.632 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008562/0.5043, allocations: 0.7674 MB / 0.6327 GB, free: 14.72 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5043, allocations: 3.984 kB / 0.6328 GB, free: 14.72 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5044, allocations: 0 / 0.6328 GB, free: 14.72 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.5044, allocations: 0 / 0.6328 GB, free: 14.72 MB / 478.1 MB 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.001581/0.506, allocations: 1.016 MB / 0.6337 GB, free: 13.65 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.506, allocations: 12.03 kB / 0.6338 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.5061, allocations: 95.81 kB / 0.6338 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/0.5069, allocations: 0.5612 MB / 0.6344 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.5069, allocations: 41 kB / 0.6344 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.507, allocations: 52 kB / 0.6345 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007198/0.5077, allocations: 414.4 kB / 0.6349 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.5078, allocations: 0 / 0.6349 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.5078, allocations: 16 kB / 0.6349 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.5078, allocations: 16 kB / 0.6349 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.5084, allocations: 319.8 kB / 0.6352 GB, free: 12.11 MB / 478.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.002555/0.511, allocations: 1.869 MB / 0.637 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.5113, allocations: 185.8 kB / 0.6372 GB, free: 9.895 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.5115, allocations: 88.81 kB / 0.6373 GB, free: 9.805 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.5118, allocations: 336.4 kB / 0.6376 GB, free: 9.402 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.5118, allocations: 30.56 kB / 0.6377 GB, free: 9.363 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.5118, allocations: 8 kB / 0.6377 GB, free: 9.355 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006892/0.5125, allocations: 318.1 kB / 0.638 GB, free: 9.039 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.5126, allocations: 59.41 kB / 0.638 GB, free: 8.969 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007122/0.5133, allocations: 0.6805 MB / 0.6387 GB, free: 8.273 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.5133, allocations: 29.7 kB / 0.6387 GB, free: 8.238 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.5136, allocations: 364.8 kB / 0.6391 GB, free: 7.879 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.5137, allocations: 67 kB / 0.6391 GB, free: 7.812 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.5137, allocations: 49.64 kB / 0.6392 GB, free: 7.758 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5139, allocations: 382.7 kB / 0.6395 GB, free: 7.375 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.5141, allocations: 112.7 kB / 0.6396 GB, free: 7.266 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.5144, allocations: 185.2 kB / 0.6398 GB, free: 7.062 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.5149, allocations: 249.6 kB / 0.6401 GB, free: 6.812 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5149, allocations: 0 / 0.6401 GB, free: 6.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000674/0.5156, allocations: 406.2 kB / 0.6404 GB, free: 6.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.5156, allocations: 111 kB / 0.6406 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5157, allocations: 0 / 0.6406 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5157, allocations: 4.094 kB / 0.6406 GB, free: 6.285 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000967/0.5167, allocations: 167.9 kB / 0.6407 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.5179, allocations: 2.363 MB / 0.643 GB, free: 3.664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/0.5184, allocations: 91.77 kB / 0.6431 GB, free: 3.574 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.5185, allocations: 16 kB / 0.6431 GB, free: 3.559 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.5185, allocations: 8 kB / 0.6431 GB, free: 3.551 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000547/0.519, allocations: 291.8 kB / 0.6434 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.5191, allocations: 0 / 0.6434 GB, free: 3.266 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.5191, allocations: 7.984 kB / 0.6434 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.5195, allocations: 107.8 kB / 0.6435 GB, free: 3.152 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.5195, allocations: 4 kB / 0.6435 GB, free: 3.148 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.5199, allocations: 75.53 kB / 0.6436 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.52, allocations: 16 kB / 0.6436 GB, free: 3.059 MB / 478.1 MB 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002576/0.5202, allocations: 270.5 kB / 0.6439 GB, free: 2.785 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/0.5203, allocations: 67.16 kB / 0.6439 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/0.5209, allocations: 323.6 kB / 0.6442 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.521, allocations: 4 kB / 0.6442 GB, free: 2.395 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.521, allocations: 4 kB / 0.6443 GB, free: 2.391 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.521, allocations: 0 / 0.6443 GB, free: 2.391 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.5222, allocations: 0.9037 MB / 0.6451 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.5222, allocations: 0 / 0.6451 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.5225, allocations: 83.88 kB / 0.6452 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5225, allocations: 0 / 0.6452 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.5226, allocations: 7.984 kB / 0.6452 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.5238, allocations: 2.356 MB / 0.6475 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5238, allocations: 8 kB / 0.6475 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.5243, allocations: 413.2 kB / 0.6479 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.5245, allocations: 172.2 kB / 0.6481 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.5246, allocations: 8 kB / 0.6481 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.525, allocations: 51.78 kB / 0.6481 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.525, allocations: 19.92 kB / 0.6482 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.5251, allocations: 8 kB / 0.6482 GB, free: 14.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005579/0.5256, allocations: 483 kB / 0.6486 GB, free: 13.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5256, allocations: 4 kB / 0.6486 GB, free: 13.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000841/0.5265, allocations: 343.2 kB / 0.649 GB, free: 13.36 MB / 494.1 MB 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005064/0.527, allocations: 245 kB / 0.6492 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.5285, allocations: 0.508 MB / 0.6497 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5286, allocations: 8 kB / 0.6497 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.5289, allocations: 143.8 kB / 0.6498 GB, free: 12.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.531, allocations: 367.9 kB / 0.6502 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.5329, allocations: 1.421 MB / 0.6516 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.5334, allocations: 0.9293 MB / 0.6525 GB, free: 9.695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.5335, allocations: 55.42 kB / 0.6525 GB, free: 9.645 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5335, allocations: 0 / 0.6525 GB, free: 9.645 MB / 494.1 MB Notification: Performance of Templates: time 0.02629/0.5598, allocations: 22.01 MB / 0.674 GB, free: 3.762 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterizationCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterizationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterizationCalcHelperMain.o] Error 1