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.001163/0.001163, allocations: 109.2 kB / 17.74 MB, free: 5.316 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.001111/0.001111, allocations: 188.2 kB / 18.67 MB, free: 4.395 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.155/1.155, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2351/0.2351, allocations: 48.85 MB / 320.7 MB, free: 11 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.001284/0.001284, allocations: 67.89 kB / 451.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09112/0.09241, allocations: 59.17 MB / 0.4984 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.3669/0.4594, allocations: 198 MB / 0.6918 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003557/0.463, allocations: 2.217 MB / 0.694 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003818/0.4634, allocations: 19.94 kB / 0.694 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.4645, allocations: 489 kB / 0.6944 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.4656, allocations: 0.672 MB / 0.6951 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.468, allocations: 1.158 MB / 0.6962 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00194/0.4699, allocations: 2.135 MB / 0.6983 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008307/0.4708, allocations: 0.7058 MB / 0.699 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000853/0.4716, allocations: 0.7981 MB / 0.6998 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007006/0.4723, allocations: 0.724 MB / 0.7005 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.4725, allocations: 100 kB / 0.7006 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.474, allocations: 0.8068 MB / 0.7014 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003764/0.4744, allocations: 470.8 kB / 0.7018 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000539/0.4749, allocations: 0.6109 MB / 0.7024 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.4765, allocations: 1.678 MB / 0.7041 GB, free: 7.484 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4765, allocations: 0 / 0.7041 GB, free: 7.484 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4765, allocations: 0 / 0.7041 GB, free: 7.484 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.4766, allocations: 0 / 0.7041 GB, free: 7.484 MB / 0.545 GB 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.002212/0.4788, allocations: 1.345 MB / 0.7054 GB, free: 6.086 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.4788, allocations: 11.89 kB / 0.7054 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008219/0.4796, allocations: 178.7 kB / 0.7056 GB, free: 5.898 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/0.4804, allocations: 0.578 MB / 0.7061 GB, free: 5.277 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.4805, allocations: 59.5 kB / 0.7062 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.4806, allocations: 80 kB / 0.7062 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.4823, allocations: 1.068 MB / 0.7073 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4823, allocations: 0 / 0.7073 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.173e-05/0.4824, allocations: 32 kB / 0.7073 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.4824, allocations: 20 kB / 0.7073 GB, free: 4.008 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.4839, allocations: 0.8861 MB / 0.7082 GB, free: 3.125 MB / 0.545 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.005166/0.4891, allocations: 3.909 MB / 0.712 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.4906, allocations: 0.8118 MB / 0.7128 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.4912, allocations: 340.8 kB / 0.7131 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.005e-05/0.4912, allocations: 20.53 kB / 0.7132 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.4913, allocations: 55.05 kB / 0.7132 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.517e-06/0.4913, allocations: 4 kB / 0.7132 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=67): time 0.00924/0.5005, allocations: 3.197 MB / 0.7163 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.5006, allocations: 111.4 kB / 0.7164 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006563/0.5013, allocations: 0.6525 MB / 0.7171 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.986e-05/0.5014, allocations: 37.7 kB / 0.7171 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.5016, allocations: 376 kB / 0.7175 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.5018, allocations: 236.6 kB / 0.7177 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.502, allocations: 146.7 kB / 0.7178 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5022, allocations: 382.8 kB / 0.7182 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.5028, allocations: 364.6 kB / 0.7186 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007418/0.5036, allocations: 476.1 kB / 0.719 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.5049, allocations: 0.7789 MB / 0.7198 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.505, allocations: 4 kB / 0.7198 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002747/0.5077, allocations: 1.313 MB / 0.7211 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5077, allocations: 11.88 kB / 0.7211 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.5078, allocations: 5.188 kB / 0.7211 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/0.5124, allocations: 0.9848 MB / 0.722 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.5129, allocations: 107.9 kB / 0.7221 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.5151, allocations: 1.428 MB / 0.7235 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.5157, allocations: 43.95 kB / 0.7236 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.5158, allocations: 39.98 kB / 0.7236 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008229/0.5167, allocations: 0.4979 MB / 0.7241 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006661/0.5173, allocations: 462.4 kB / 0.7245 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001195/0.5185, allocations: 0.746 MB / 0.7253 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.017e-06/0.5185, allocations: 3.938 kB / 0.7253 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002397/0.5209, allocations: 1.149 MB / 0.7264 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.521, allocations: 11.91 kB / 0.7264 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.521, allocations: 0 / 0.7264 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.5226, allocations: 456.6 kB / 0.7268 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.5232, allocations: 167.7 kB / 0.727 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.5249, allocations: 2.189 MB / 0.7291 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/0.5256, allocations: 51.94 kB / 0.7292 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.5256, allocations: 32 kB / 0.7292 GB, free: 12.73 MB / 0.5762 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 (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.0002664/0.5259, allocations: 232.2 kB / 0.7294 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.5261, allocations: 79.06 kB / 0.7295 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.5282, allocations: 1.025 MB / 0.7305 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5282, allocations: 12 kB / 0.7305 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5282, allocations: 7.875 kB / 0.7305 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.5282, allocations: 7.984 kB / 0.7305 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.5314, allocations: 2.064 MB / 0.7326 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5314, allocations: 0 / 0.7326 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008584/0.5323, allocations: 171.9 kB / 0.7327 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002255/0.5345, allocations: 417.2 kB / 0.7331 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.5346, allocations: 23.98 kB / 0.7331 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.5367, allocations: 2.876 MB / 0.736 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5367, allocations: 4 kB / 0.736 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/0.5393, allocations: 1.455 MB / 0.7374 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.5395, allocations: 160.1 kB / 0.7375 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001352/0.5397, allocations: 16 kB / 0.7375 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/0.5404, allocations: 55.94 kB / 0.7376 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.5406, allocations: 68.47 kB / 0.7377 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.782e-05/0.5407, allocations: 39.97 kB / 0.7377 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00051/0.5412, allocations: 467 kB / 0.7381 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5412, allocations: 3.938 kB / 0.7382 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001292/0.5425, allocations: 0.5194 MB / 0.7387 GB, free: 2.699 MB / 0.5762 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.0009549/0.5434, allocations: 407.5 kB / 0.739 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003456/0.5469, allocations: 1.518 MB / 0.7405 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5469, allocations: 0.6562 kB / 0.7405 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.548, allocations: 0.5957 MB / 0.7411 GB, free: 176 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.5499, allocations: 487.3 kB / 0.7416 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.5528, allocations: 1.866 MB / 0.7434 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.5534, allocations: 0.9989 MB / 0.7444 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.5536, allocations: 67.42 kB / 0.7444 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.5536, allocations: 0 / 0.7444 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of Templates: time 0.2049/0.7585, allocations: 22.53 MB / 0.7664 GB, free: 216.9 MB / 0.5919 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)