Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007576/0.0007573, allocations: 98.66 kB / 15.71 MB, free: 452 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.0008078/0.0008078, allocations: 177 kB / 16.58 MB, free: 6.418 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.234/1.234, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8462/0.8462, allocations: 135.3 MB / 427 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 8 kB / 0.5076 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 82.31 MB / 0.588 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.2779/0.4277, allocations: 20.48 MB / 0.608 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005277/0.433, allocations: 4.906 MB / 0.6128 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.4335, allocations: 17.06 kB / 0.6128 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.434, allocations: 219.5 kB / 0.613 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.4353, allocations: 0.6928 MB / 0.6137 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.4366, allocations: 0.5726 MB / 0.6142 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.4378, allocations: 1.624 MB / 0.6158 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000396/0.4382, allocations: 386.1 kB / 0.6162 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006098/0.4388, allocations: 0.516 MB / 0.6167 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004001/0.4392, allocations: 437 kB / 0.6171 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.4393, allocations: 18.09 kB / 0.6171 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007178/0.44, allocations: 0.5233 MB / 0.6176 GB, free: 34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.697e-05/0.4401, allocations: 114.4 kB / 0.6178 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.165e-05/0.4402, allocations: 152.5 kB / 0.6179 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.4407, allocations: 0.7602 MB / 0.6186 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4407, allocations: 0 / 0.6186 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4407, allocations: 0 / 0.6186 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4407, allocations: 3.938 kB / 0.6186 GB, free: 33.84 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001122/0.4419, allocations: 0.9369 MB / 0.6196 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.4419, allocations: 8.406 kB / 0.6196 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.099e-05/0.442, allocations: 79.03 kB / 0.6196 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005739/0.4426, allocations: 0.5298 MB / 0.6202 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.4426, allocations: 30.22 kB / 0.6202 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.4427, allocations: 48.7 kB / 0.6202 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.4431, allocations: 313.7 kB / 0.6205 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.4432, allocations: 0 / 0.6205 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.4432, allocations: 11.58 kB / 0.6206 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.4432, allocations: 11.31 kB / 0.6206 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.4436, allocations: 265.1 kB / 0.6208 GB, free: 32.85 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.001705/0.4454, allocations: 1.578 MB / 0.6224 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.4457, allocations: 198.8 kB / 0.6225 GB, free: 32.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.4458, allocations: 94.11 kB / 0.6226 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.446, allocations: 426.7 kB / 0.623 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.4461, allocations: 40.56 kB / 0.6231 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.4461, allocations: 0 / 0.6231 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0005816/0.4467, allocations: 339.7 kB / 0.6234 GB, free: 31.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.4467, allocations: 54 kB / 0.6235 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005607/0.4473, allocations: 0.6444 MB / 0.6241 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.4473, allocations: 32.7 kB / 0.6241 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.4474, allocations: 303.6 kB / 0.6244 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.4475, allocations: 71.48 kB / 0.6245 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.4475, allocations: 9.156 kB / 0.6245 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.4476, allocations: 371.9 kB / 0.6248 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.4478, allocations: 130.2 kB / 0.625 GB, free: 30.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.4481, allocations: 213.4 kB / 0.6252 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.4483, allocations: 155.6 kB / 0.6253 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4483, allocations: 0 / 0.6253 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006014/0.449, allocations: 450 kB / 0.6257 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.449, allocations: 127.2 kB / 0.6259 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.449, allocations: 0 / 0.6259 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.449, allocations: 2.594 kB / 0.6259 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/0.4497, allocations: 144.5 kB / 0.626 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003793/0.4501, allocations: 1.192 MB / 0.6272 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.4505, allocations: 61.75 kB / 0.6272 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.4505, allocations: 15.38 kB / 0.6272 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-06/0.4505, allocations: 10.08 kB / 0.6273 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005475/0.4511, allocations: 370.2 kB / 0.6276 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.4511, allocations: 0 / 0.6276 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.05e-06/0.4511, allocations: 7.234 kB / 0.6276 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.4515, allocations: 110.3 kB / 0.6277 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4515, allocations: 11.31 kB / 0.6277 GB, free: 29.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.4519, allocations: 54.7 kB / 0.6278 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.4519, allocations: 15.22 kB / 0.6278 GB, free: 29.22 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.4521, allocations: 271.9 kB / 0.6281 GB, free: 29.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.4522, allocations: 63.91 kB / 0.6281 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.4527, allocations: 331.7 kB / 0.6284 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4527, allocations: 7 kB / 0.6284 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4528, allocations: 0 / 0.6284 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.4528, allocations: 0 / 0.6284 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009285/0.4537, allocations: 0.9144 MB / 0.6293 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.4537, allocations: 192 / 0.6293 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.454, allocations: 55.17 kB / 0.6294 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.454, allocations: 0 / 0.6294 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.454, allocations: 21.56 kB / 0.6294 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002728/0.4543, allocations: 1.186 MB / 0.6306 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4543, allocations: 0 / 0.6306 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.4549, allocations: 0.5335 MB / 0.6311 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.455, allocations: 188.3 kB / 0.6313 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.4551, allocations: 6.156 kB / 0.6313 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.4554, allocations: 32.03 kB / 0.6313 GB, free: 27.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.4554, allocations: 19.84 kB / 0.6313 GB, free: 27.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.4554, allocations: 8.875 kB / 0.6313 GB, free: 27.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000402/0.4558, allocations: 449.5 kB / 0.6318 GB, free: 26.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4559, allocations: 3.094 kB / 0.6318 GB, free: 26.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006981/0.4566, allocations: 291.4 kB / 0.632 GB, free: 26.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003897/0.457, allocations: 248.6 kB / 0.6323 GB, free: 26.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.458, allocations: 0.5237 MB / 0.6328 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.458, allocations: 0 / 0.6328 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.4583, allocations: 138.7 kB / 0.6329 GB, free: 26.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.4595, allocations: 288.2 kB / 0.6332 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.4608, allocations: 1.227 MB / 0.6344 GB, free: 26.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.461, allocations: 0.8917 MB / 0.6353 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.4611, allocations: 50.06 kB / 0.6353 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.4611, allocations: 0 / 0.6353 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.01746/0.4786, allocations: 14.89 MB / 0.6499 GB, free: 23.97 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.TwoWayValveTRVCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRVCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRVCalcHelperMain.o] Error 1