Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") translateModel(ThermoPower.Test.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 95.34 kB / 16.95 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 186.5 kB / 17.85 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3927/0.3927, allocations: 48.78 MB / 321.1 MB, free: 11.23 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005576/0.0005577, allocations: 19.84 kB / 391.8 MB, free: 50.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1366, allocations: 60.26 MB / 452.1 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.5763/0.7129, allocations: 180.5 MB / 0.6178 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005373/0.7183, allocations: 2.172 MB / 0.6199 GB, free: 15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.7194, allocations: 11.88 kB / 0.6199 GB, free: 15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.7208, allocations: 335.1 kB / 0.6202 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.7227, allocations: 0.6558 MB / 0.6209 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00326/0.726, allocations: 0.8742 MB / 0.6217 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003874/0.7299, allocations: 2.49 MB / 0.6241 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.7311, allocations: 0.5642 MB / 0.6247 GB, free: 11.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.7327, allocations: 0.6982 MB / 0.6254 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.7342, allocations: 0.7245 MB / 0.6261 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.7344, allocations: 52.16 kB / 0.6261 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.7368, allocations: 0.6575 MB / 0.6268 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005921/0.7374, allocations: 428.7 kB / 0.6272 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.7379, allocations: 232.9 kB / 0.6274 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.7396, allocations: 1.229 MB / 0.6286 GB, free: 9.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.7396, allocations: 0 / 0.6286 GB, free: 9.547 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7396, allocations: 0 / 0.6286 GB, free: 9.547 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.7396, allocations: 0 / 0.6286 GB, free: 9.547 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002477/0.7421, allocations: 1.149 MB / 0.6297 GB, free: 8.691 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.7421, allocations: 9.188 kB / 0.6297 GB, free: 8.691 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008388/0.743, allocations: 181.4 kB / 0.6299 GB, free: 8.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009497/0.744, allocations: 0.5452 MB / 0.6304 GB, free: 8.148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/0.744, allocations: 62.59 kB / 0.6305 GB, free: 8.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.7442, allocations: 86.59 kB / 0.6306 GB, free: 8.086 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.7464, allocations: 1.077 MB / 0.6316 GB, free: 7.465 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.7464, allocations: 2.969 kB / 0.6316 GB, free: 7.465 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.7465, allocations: 39.91 kB / 0.6317 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.7465, allocations: 23.52 kB / 0.6317 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.7483, allocations: 0.912 MB / 0.6326 GB, free: 6.543 MB / 446.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.006347/0.7547, allocations: 3.944 MB / 0.6364 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.7564, allocations: 0.8734 MB / 0.6373 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006889/0.7571, allocations: 358.1 kB / 0.6376 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.505e-05/0.7572, allocations: 20.53 kB / 0.6377 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.7573, allocations: 43.12 kB / 0.6377 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of pre-optimization done (n=61): time 2.795e-06/0.7573, allocations: 0 / 0.6377 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of matching and sorting (n=67): time 0.01009/0.7674, allocations: 3.376 MB / 0.641 GB, free: 13.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.7675, allocations: 115.4 kB / 0.6411 GB, free: 13.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009296/0.7685, allocations: 0.6407 MB / 0.6417 GB, free: 12.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.471e-05/0.7686, allocations: 45.7 kB / 0.6418 GB, free: 12.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.7689, allocations: 380 kB / 0.6421 GB, free: 12.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.7691, allocations: 232.6 kB / 0.6424 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.7692, allocations: 12 kB / 0.6424 GB, free: 11.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002375/0.7694, allocations: 386.8 kB / 0.6427 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007849/0.7702, allocations: 385.8 kB / 0.6431 GB, free: 11.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008999/0.7711, allocations: 496.1 kB / 0.6436 GB, free: 10.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008728/0.772, allocations: 434.8 kB / 0.644 GB, free: 10.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.772, allocations: 0 / 0.644 GB, free: 10.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003175/0.7752, allocations: 1.345 MB / 0.6453 GB, free: 8.871 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.7754, allocations: 152 kB / 0.6455 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.7754, allocations: 4 kB / 0.6455 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004576/0.78, allocations: 0.9916 MB / 0.6464 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.7806, allocations: 123.8 kB / 0.6465 GB, free: 7.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.7831, allocations: 1.433 MB / 0.6479 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009907/0.7841, allocations: 119.7 kB / 0.6481 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.891e-05/0.7842, allocations: 35.98 kB / 0.6481 GB, free: 5.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.7842, allocations: 4 kB / 0.6481 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002463/0.7867, allocations: 1.07 MB / 0.6491 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7867, allocations: 8.125 kB / 0.6491 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/0.7884, allocations: 452.3 kB / 0.6496 GB, free: 4.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.7891, allocations: 171.8 kB / 0.6497 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.7911, allocations: 2.194 MB / 0.6519 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009653/0.7921, allocations: 116 kB / 0.652 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.7922, allocations: 35.98 kB / 0.652 GB, free: 1.844 MB / 462.1 MB 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 33} Notification: Performance of prepare postOptimizeDAE: time 0.0006591/0.7929, allocations: 325 kB / 0.6523 GB, free: 1.516 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.793, allocations: 83.06 kB / 0.6524 GB, free: 1.434 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/0.7955, allocations: 1.08 MB / 0.6535 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.7955, allocations: 8 kB / 0.6535 GB, free: 336 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7955, allocations: 0 / 0.6535 GB, free: 336 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.7955, allocations: 3.984 kB / 0.6535 GB, free: 332 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003959/0.7995, allocations: 2.099 MB / 0.6555 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.7995, allocations: 4 kB / 0.6555 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008748/0.8004, allocations: 171.8 kB / 0.6557 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/0.8027, allocations: 445.4 kB / 0.6561 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-05/0.8028, allocations: 23.98 kB / 0.6561 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/0.8055, allocations: 2.789 MB / 0.6589 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.8055, allocations: 160 / 0.6589 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.8086, allocations: 1.508 MB / 0.6603 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.8091, allocations: 160.2 kB / 0.6605 GB, free: 8.805 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.8092, allocations: 20.08 kB / 0.6605 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008926/0.8101, allocations: 119.7 kB / 0.6606 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.8103, allocations: 56.66 kB / 0.6607 GB, free: 8.613 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-05/0.8104, allocations: 39.97 kB / 0.6607 GB, free: 8.574 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007099/0.8111, allocations: 463 kB / 0.6612 GB, free: 8.125 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8111, allocations: 0 / 0.6612 GB, free: 8.125 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00168/0.8128, allocations: 0.5195 MB / 0.6617 GB, free: 7.605 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Mixer1.gas.p,Mixer1.gas.Xi[1],Mixer1.gas.Xi[2],Mixer1.gas.T) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/0.8139, allocations: 371.3 kB / 0.662 GB, free: 7.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003794/0.8177, allocations: 1.563 MB / 0.6636 GB, free: 5.672 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.8177, allocations: 4.656 kB / 0.6636 GB, free: 5.668 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.819, allocations: 0.6075 MB / 0.6642 GB, free: 5.047 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.8216, allocations: 486.4 kB / 0.6646 GB, free: 4.578 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.8251, allocations: 2.238 MB / 0.6668 GB, free: 2.293 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/0.826, allocations: 0.9911 MB / 0.6678 GB, free: 1.273 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.8262, allocations: 67.42 kB / 0.6678 GB, free: 1.207 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/0.8262, allocations: 0 / 0.6678 GB, free: 1.207 MB / 478.1 MB Notification: Performance of Templates: time 0.03481/0.8611, allocations: 21.99 MB / 0.6893 GB, free: 11.18 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasMixerCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasMixerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasMixerCalcHelperMain.o] Error 1