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.001133/0.001133, allocations: 105.9 kB / 16.51 MB, free: 6.707 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.001023/0.001023, allocations: 186.5 kB / 17.42 MB, free: 6.074 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.455/1.455, allocations: 205.1 MB / 223.3 MB, free: 12.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2942/0.2942, allocations: 48.83 MB / 319.5 MB, free: 11.34 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.001318/0.001319, allocations: 64.3 kB / 389.4 MB, free: 49.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09579/0.09712, allocations: 59.16 MB / 448.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.4762/0.5733, allocations: 196.5 MB / 0.6299 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004769/0.5781, allocations: 2.29 MB / 0.6322 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008012/0.579, allocations: 18.12 kB / 0.6322 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.5806, allocations: 427.3 kB / 0.6326 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.5819, allocations: 0.6441 MB / 0.6332 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.5846, allocations: 1.073 MB / 0.6343 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002693/0.5873, allocations: 2.965 MB / 0.6372 GB, free: 9.992 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009266/0.5882, allocations: 0.6168 MB / 0.6378 GB, free: 9.363 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.5894, allocations: 0.6927 MB / 0.6384 GB, free: 8.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008988/0.5903, allocations: 0.7395 MB / 0.6392 GB, free: 7.926 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.5904, allocations: 56 kB / 0.6392 GB, free: 7.871 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.5926, allocations: 1.08 MB / 0.6403 GB, free: 6.789 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000421/0.5931, allocations: 430.9 kB / 0.6407 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006304/0.5937, allocations: 0.5523 MB / 0.6412 GB, free: 5.812 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.5957, allocations: 1.714 MB / 0.6429 GB, free: 4.094 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5957, allocations: 0 / 0.6429 GB, free: 4.094 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.5957, allocations: 0 / 0.6429 GB, free: 4.094 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.5958, allocations: 0 / 0.6429 GB, free: 4.094 MB / 462.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.002616/0.5984, allocations: 1.334 MB / 0.6442 GB, free: 2.711 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.5984, allocations: 8.031 kB / 0.6442 GB, free: 2.703 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009231/0.5994, allocations: 178.7 kB / 0.6444 GB, free: 2.527 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/0.6002, allocations: 0.5624 MB / 0.6449 GB, free: 1.926 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.6002, allocations: 66 kB / 0.645 GB, free: 1.859 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.6004, allocations: 84 kB / 0.6451 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.6023, allocations: 1.06 MB / 0.6461 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.6024, allocations: 0 / 0.6461 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.6025, allocations: 40 kB / 0.6461 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.6025, allocations: 23.94 kB / 0.6462 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.6043, allocations: 0.886 MB / 0.647 GB, free: 15.76 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.005956/0.6103, allocations: 3.916 MB / 0.6509 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.6119, allocations: 0.8072 MB / 0.6516 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006647/0.6126, allocations: 352.5 kB / 0.652 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-05/0.6127, allocations: 16.53 kB / 0.652 GB, free: 10.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.6127, allocations: 47.12 kB / 0.652 GB, free: 10.19 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 2.735e-06/0.6128, allocations: 0 / 0.652 GB, free: 10.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=67): time 0.0106/0.6234, allocations: 3.235 MB / 0.6552 GB, free: 6.844 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.6235, allocations: 107.4 kB / 0.6553 GB, free: 6.715 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007479/0.6242, allocations: 0.6524 MB / 0.6559 GB, free: 6.051 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.73e-05/0.6243, allocations: 45.7 kB / 0.656 GB, free: 6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.6246, allocations: 372 kB / 0.6563 GB, free: 5.633 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.6248, allocations: 232.6 kB / 0.6566 GB, free: 5.402 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.625, allocations: 142.7 kB / 0.6567 GB, free: 5.258 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6252, allocations: 382.8 kB / 0.6571 GB, free: 4.875 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007868/0.626, allocations: 368.6 kB / 0.6574 GB, free: 4.512 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000859/0.6269, allocations: 472.1 kB / 0.6579 GB, free: 4.016 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.6284, allocations: 0.7867 MB / 0.6586 GB, free: 3.199 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6284, allocations: 0 / 0.6586 GB, free: 3.199 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003167/0.6316, allocations: 1.313 MB / 0.6599 GB, free: 1.879 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.6316, allocations: 11.94 kB / 0.6599 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.6317, allocations: 0 / 0.6599 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005304/0.637, allocations: 0.9722 MB / 0.6609 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.6375, allocations: 107.9 kB / 0.661 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.64, allocations: 1.433 MB / 0.6624 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009495/0.641, allocations: 107.7 kB / 0.6625 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.6411, allocations: 35.92 kB / 0.6625 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009976/0.6421, allocations: 0.5136 MB / 0.663 GB, free: 14.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000747/0.6429, allocations: 446.5 kB / 0.6634 GB, free: 14.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00135/0.6442, allocations: 0.7565 MB / 0.6642 GB, free: 13.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.721e-06/0.6442, allocations: 7.938 kB / 0.6642 GB, free: 13.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002714/0.647, allocations: 1.149 MB / 0.6653 GB, free: 12.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.647, allocations: 8 kB / 0.6653 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.647, allocations: 0 / 0.6653 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/0.6488, allocations: 452.7 kB / 0.6657 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007097/0.6495, allocations: 159.8 kB / 0.6659 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.6515, allocations: 2.194 MB / 0.668 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008555/0.6524, allocations: 107.8 kB / 0.6681 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.937e-05/0.6525, allocations: 28 kB / 0.6682 GB, free: 9.215 MB / 494.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,33)} Notification: Performance of prepare postOptimizeDAE: time 0.000306/0.6528, allocations: 228.1 kB / 0.6684 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.653, allocations: 79.06 kB / 0.6685 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.6556, allocations: 1.029 MB / 0.6695 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.6556, allocations: 8 kB / 0.6695 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.6556, allocations: 3.938 kB / 0.6695 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6556, allocations: 7.984 kB / 0.6695 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00365/0.6593, allocations: 2.068 MB / 0.6715 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6593, allocations: 4 kB / 0.6715 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009508/0.6603, allocations: 160.1 kB / 0.6717 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002593/0.6629, allocations: 441.2 kB / 0.6721 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.235e-05/0.663, allocations: 23.98 kB / 0.6721 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.6654, allocations: 2.765 MB / 0.6748 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6654, allocations: 0 / 0.6748 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.6684, allocations: 1.465 MB / 0.6762 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.6687, allocations: 160.3 kB / 0.6764 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.6689, allocations: 15.94 kB / 0.6764 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009939/0.6699, allocations: 95.83 kB / 0.6765 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.67, allocations: 72.41 kB / 0.6766 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.6701, allocations: 39.97 kB / 0.6766 GB, free: 220 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006183/0.6708, allocations: 463 kB / 0.677 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6708, allocations: 0 / 0.677 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001568/0.6723, allocations: 0.5195 MB / 0.6776 GB, free: 15.25 MB / 0.4981 GB 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 (not torn): 1 * Torn equation systems: 2 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001258/0.6736, allocations: 411.4 kB / 0.6779 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003852/0.6775, allocations: 1.509 MB / 0.6794 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.6775, allocations: 0.6562 kB / 0.6794 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.6788, allocations: 0.5957 MB / 0.68 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/0.6814, allocations: 480.2 kB / 0.6805 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.6853, allocations: 2.131 MB / 0.6825 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00086/0.6861, allocations: 1.003 MB / 0.6835 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001082/0.6872, allocations: 178.1 kB / 0.6837 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.6876, allocations: 67.42 kB / 0.6838 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of SimCode: time 1.393e-06/0.6876, allocations: 0 / 0.6838 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of Templates: time 0.0451/0.7327, allocations: 26.68 MB / 0.7098 GB, free: 14.08 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe 2>&1)