Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007718/0.0007718, allocations: 102.6 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.0007931/0.000793, allocations: 176.7 kB / 16.58 MB, free: 6.402 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.236/1.236, allocations: 223.2 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.8524/0.8524, allocations: 135.3 MB / 427 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 9.281 kB / 0.5076 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1499, allocations: 82.31 MB / 0.588 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.3068/0.4567, allocations: 27.38 MB / 0.6147 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008092/0.4649, allocations: 7.662 MB / 0.6222 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009283/0.4659, allocations: 29.69 kB / 0.6222 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007996/0.4667, allocations: 306.4 kB / 0.6225 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.4692, allocations: 1.079 MB / 0.6236 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.4714, allocations: 0.9566 MB / 0.6245 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002886/0.4743, allocations: 3.533 MB / 0.628 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.4754, allocations: 1.084 MB / 0.629 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.4773, allocations: 1.465 MB / 0.6305 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.4793, allocations: 1.551 MB / 0.632 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002605/0.4796, allocations: 64.09 kB / 0.632 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.4813, allocations: 0.8658 MB / 0.6329 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.4816, allocations: 333.7 kB / 0.6332 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.482, allocations: 246.1 kB / 0.6334 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.4832, allocations: 1.54 MB / 0.6349 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.4832, allocations: 0 / 0.6349 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4832, allocations: 6.906 kB / 0.6349 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.4832, allocations: 0 / 0.6349 GB, free: 30.42 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00174/0.485, allocations: 1.34 MB / 0.6363 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.485, allocations: 8.625 kB / 0.6363 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.4853, allocations: 155.1 kB / 0.6364 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.4865, allocations: 0.8625 MB / 0.6373 GB, free: 29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.4865, allocations: 80.53 kB / 0.6373 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.4867, allocations: 117.5 kB / 0.6374 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008439/0.4876, allocations: 0.6374 MB / 0.6381 GB, free: 28.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4876, allocations: 6.891 kB / 0.6381 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.4876, allocations: 22.91 kB / 0.6381 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.4876, allocations: 16.77 kB / 0.6381 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006956/0.4883, allocations: 472.1 kB / 0.6386 GB, free: 28.48 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.00321/0.4916, allocations: 2.88 MB / 0.6414 GB, free: 26.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004676/0.492, allocations: 316.7 kB / 0.6417 GB, free: 26.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.4923, allocations: 150.8 kB / 0.6418 GB, free: 26.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/0.4925, allocations: 349.1 kB / 0.6422 GB, free: 26.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.4925, allocations: 37.84 kB / 0.6422 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.393e-06/0.4925, allocations: 0 / 0.6422 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.000977/0.4935, allocations: 0.5415 MB / 0.6427 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.4936, allocations: 54.69 kB / 0.6428 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000753/0.4943, allocations: 0.897 MB / 0.6436 GB, free: 25.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.034e-05/0.4944, allocations: 57.45 kB / 0.6437 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.4947, allocations: 0.5266 MB / 0.6442 GB, free: 24.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.4948, allocations: 115.9 kB / 0.6443 GB, free: 24.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.4948, allocations: 10.94 kB / 0.6443 GB, free: 24.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.643e-05/0.4949, allocations: 338 kB / 0.6447 GB, free: 24.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.4952, allocations: 178.9 kB / 0.6448 GB, free: 24.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008732/0.4961, allocations: 1.139 MB / 0.6459 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.4965, allocations: 304.4 kB / 0.6462 GB, free: 23.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4965, allocations: 0 / 0.6462 GB, free: 23.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009661/0.4975, allocations: 0.638 MB / 0.6469 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/0.4975, allocations: 149.7 kB / 0.647 GB, free: 22.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.4976, allocations: 7.109 kB / 0.647 GB, free: 22.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4976, allocations: 8.906 kB / 0.647 GB, free: 22.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.4988, allocations: 235.7 kB / 0.6472 GB, free: 22.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009281/0.4997, allocations: 2.964 MB / 0.6501 GB, free: 19.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/0.5027, allocations: 0.7472 MB / 0.6509 GB, free: 19.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.5028, allocations: 30.16 kB / 0.6509 GB, free: 19.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.5028, allocations: 4.438 kB / 0.6509 GB, free: 19.75 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009365/0.5037, allocations: 0.498 MB / 0.6514 GB, free: 19.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.5037, allocations: 2.094 kB / 0.6514 GB, free: 19.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.5038, allocations: 9.75 kB / 0.6514 GB, free: 19.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.5044, allocations: 162.1 kB / 0.6515 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.5044, allocations: 5.734 kB / 0.6516 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/0.5073, allocations: 0.7388 MB / 0.6523 GB, free: 19.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.5074, allocations: 27.61 kB / 0.6523 GB, free: 19.45 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005472/0.5079, allocations: 328.1 kB / 0.6526 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.5081, allocations: 95.3 kB / 0.6527 GB, free: 19.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.5091, allocations: 0.5238 MB / 0.6532 GB, free: 18.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.5091, allocations: 13.45 kB / 0.6532 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5092, allocations: 0.7031 kB / 0.6532 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.5092, allocations: 3 kB / 0.6532 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.5111, allocations: 1.263 MB / 0.6545 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5111, allocations: 2.062 kB / 0.6545 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/0.5116, allocations: 117.4 kB / 0.6546 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.5116, allocations: 7.875 kB / 0.6546 GB, free: 18.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.5117, allocations: 10.95 kB / 0.6546 GB, free: 18.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007881/0.5125, allocations: 2.947 MB / 0.6575 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5125, allocations: 0.8438 kB / 0.6575 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008747/0.5134, allocations: 0.5796 MB / 0.658 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.5137, allocations: 224.2 kB / 0.6583 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/0.5138, allocations: 12.03 kB / 0.6583 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.5142, allocations: 66.69 kB / 0.6583 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.5143, allocations: 30.69 kB / 0.6584 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.5144, allocations: 16.48 kB / 0.6584 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000878/0.5152, allocations: 0.6003 MB / 0.659 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5153, allocations: 0 / 0.659 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001648/0.5169, allocations: 0.5361 MB / 0.6595 GB, free: 14.38 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000747/0.5177, allocations: 332.6 kB / 0.6598 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002541/0.5202, allocations: 0.838 MB / 0.6606 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5202, allocations: 1 kB / 0.6606 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.5208, allocations: 237.5 kB / 0.6608 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.523, allocations: 486.3 kB / 0.6613 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.5255, allocations: 1.834 MB / 0.6631 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.5261, allocations: 1.028 MB / 0.6641 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.5263, allocations: 82.02 kB / 0.6642 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.5263, allocations: 1.031 kB / 0.6642 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.0444/0.5707, allocations: 36.3 MB / 0.6996 GB, free: 9.375 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValvesCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.o] Error 1