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.00139/0.001391, allocations: 113.3 kB / 17.69 MB, free: 5.309 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.001647/0.001647, allocations: 191 kB / 18.63 MB, free: 4.375 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.326/1.326, allocations: 205.1 MB / 224.5 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.238/0.238, allocations: 48.84 MB / 320.7 MB, free: 11.04 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.001372/0.001372, allocations: 71.53 kB / 391.5 MB, free: 48.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07818/0.07957, allocations: 59.16 MB / 450.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.3753/0.4549, allocations: 198.1 MB / 0.6335 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003881/0.4588, allocations: 2.22 MB / 0.6357 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003504/0.4592, allocations: 11.94 kB / 0.6357 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.4604, allocations: 493.1 kB / 0.6362 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.4615, allocations: 0.6759 MB / 0.6368 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.4641, allocations: 1.161 MB / 0.638 GB, free: 10.33 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00213/0.4663, allocations: 2.115 MB / 0.64 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009397/0.4672, allocations: 0.7214 MB / 0.6407 GB, free: 7.473 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009997/0.4682, allocations: 0.7903 MB / 0.6415 GB, free: 6.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007682/0.469, allocations: 0.7161 MB / 0.6422 GB, free: 5.961 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.4691, allocations: 108 kB / 0.6423 GB, free: 5.855 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.4707, allocations: 0.799 MB / 0.6431 GB, free: 5.055 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004207/0.4711, allocations: 474.9 kB / 0.6436 GB, free: 4.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006293/0.4718, allocations: 0.6109 MB / 0.6442 GB, free: 3.977 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.4736, allocations: 1.683 MB / 0.6458 GB, free: 2.289 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4736, allocations: 0 / 0.6458 GB, free: 2.289 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4736, allocations: 0 / 0.6458 GB, free: 2.289 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.4736, allocations: 0 / 0.6458 GB, free: 2.289 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.002344/0.4759, allocations: 1.337 MB / 0.6471 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.476, allocations: 11.89 kB / 0.6471 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008768/0.4769, allocations: 182.7 kB / 0.6473 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.4778, allocations: 0.5663 MB / 0.6478 GB, free: 104 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.4779, allocations: 62 kB / 0.6479 GB, free: 40 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.478, allocations: 84.08 kB / 0.648 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.4798, allocations: 1.069 MB / 0.649 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.4799, allocations: 0 / 0.649 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-05/0.4799, allocations: 32 kB / 0.6491 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.48, allocations: 20 kB / 0.6491 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.4817, allocations: 0.89 MB / 0.6499 GB, free: 13.93 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.005579/0.4873, allocations: 3.916 MB / 0.6538 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.4889, allocations: 0.7994 MB / 0.6545 GB, free: 8.801 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.4895, allocations: 340.6 kB / 0.6549 GB, free: 8.469 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.4896, allocations: 20.53 kB / 0.6549 GB, free: 8.449 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.4896, allocations: 47.12 kB / 0.6549 GB, free: 8.391 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 2.134e-06/0.4896, allocations: 4 kB / 0.6549 GB, free: 8.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=67): time 0.009827/0.4995, allocations: 3.195 MB / 0.6581 GB, free: 5.078 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.4996, allocations: 115.3 kB / 0.6582 GB, free: 4.941 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007417/0.5003, allocations: 0.6524 MB / 0.6588 GB, free: 4.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-05/0.5004, allocations: 41.7 kB / 0.6588 GB, free: 4.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.5006, allocations: 368.1 kB / 0.6592 GB, free: 3.867 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.5008, allocations: 240.6 kB / 0.6594 GB, free: 3.629 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.5011, allocations: 142.7 kB / 0.6596 GB, free: 3.484 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5013, allocations: 386.8 kB / 0.6599 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007662/0.502, allocations: 364.6 kB / 0.6603 GB, free: 2.738 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008252/0.5029, allocations: 480.1 kB / 0.6607 GB, free: 2.238 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.5043, allocations: 0.775 MB / 0.6615 GB, free: 1.434 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5043, allocations: 0 / 0.6615 GB, free: 1.434 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002985/0.5073, allocations: 1.317 MB / 0.6628 GB, free: 108 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5074, allocations: 11.94 kB / 0.6628 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5074, allocations: 2.5 kB / 0.6628 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004982/0.5124, allocations: 0.984 MB / 0.6638 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.5129, allocations: 111.9 kB / 0.6639 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.5153, allocations: 1.421 MB / 0.6652 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/0.516, allocations: 51.94 kB / 0.6653 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-05/0.5161, allocations: 35.98 kB / 0.6653 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008768/0.517, allocations: 0.5018 MB / 0.6658 GB, free: 12.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007557/0.5177, allocations: 454.4 kB / 0.6663 GB, free: 12.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001263/0.519, allocations: 0.7534 MB / 0.667 GB, free: 11.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.098e-06/0.519, allocations: 3.938 kB / 0.667 GB, free: 11.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.0025/0.5215, allocations: 1.149 MB / 0.6681 GB, free: 10.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5215, allocations: 4 kB / 0.6681 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5216, allocations: 4 kB / 0.6681 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.5232, allocations: 437.7 kB / 0.6685 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/0.5239, allocations: 163.8 kB / 0.6687 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.5257, allocations: 2.197 MB / 0.6708 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006047/0.5264, allocations: 43.95 kB / 0.6709 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.5264, allocations: 40.27 kB / 0.6709 GB, free: 7.57 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.0002584/0.5267, allocations: 224.6 kB / 0.6711 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.5269, allocations: 83.06 kB / 0.6712 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.5291, allocations: 1.037 MB / 0.6722 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.5291, allocations: 8 kB / 0.6722 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.5291, allocations: 3.938 kB / 0.6722 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.5291, allocations: 3.984 kB / 0.6722 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.5325, allocations: 2.072 MB / 0.6743 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5325, allocations: 0 / 0.6743 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008926/0.5334, allocations: 171.9 kB / 0.6744 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/0.5357, allocations: 425.2 kB / 0.6748 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.246e-05/0.5357, allocations: 19.98 kB / 0.6749 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/0.538, allocations: 2.875 MB / 0.6777 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.538, allocations: 4 kB / 0.6777 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/0.5407, allocations: 1.451 MB / 0.6791 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.5409, allocations: 160.1 kB / 0.6792 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.541, allocations: 23.98 kB / 0.6793 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000742/0.5418, allocations: 51.94 kB / 0.6793 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.5419, allocations: 60.48 kB / 0.6794 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.894e-05/0.542, allocations: 47.95 kB / 0.6794 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005017/0.5425, allocations: 467 kB / 0.6799 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5425, allocations: 0 / 0.6799 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001205/0.5437, allocations: 0.5155 MB / 0.6804 GB, free: 13.54 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.0009162/0.5447, allocations: 415.2 kB / 0.6808 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003568/0.5482, allocations: 1.526 MB / 0.6823 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.5483, allocations: 4.594 kB / 0.6823 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.5494, allocations: 0.5918 MB / 0.6828 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.5513, allocations: 491.1 kB / 0.6833 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.554, allocations: 1.806 MB / 0.6851 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.5546, allocations: 0.9989 MB / 0.686 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006363/0.5552, allocations: 182.1 kB / 0.6862 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.5554, allocations: 67.42 kB / 0.6863 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.5554, allocations: 0 / 0.6863 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of Templates: time 0.03961/0.595, allocations: 28.58 MB / 0.7142 GB, free: 10.77 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe 2>&1)