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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 84.77 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 158.6 MB / 185.7 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2798/0.2798, allocations: 36.35 MB / 274.3 MB, free: 0.7148 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") translateModel(ThermoPower.Test.GasComponents.TestGasMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 414.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.685e-05, allocations: 6.219 kB / 414.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.3967/0.3967, allocations: 172 MB / 0.5731 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004761/0.4015, allocations: 2.142 MB / 0.5751 GB, free: 7.883 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000543/0.402, allocations: 15.88 kB / 0.5752 GB, free: 7.867 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.4034, allocations: 461 kB / 0.5756 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.4049, allocations: 0.7258 MB / 0.5763 GB, free: 6.684 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.4081, allocations: 1.218 MB / 0.5775 GB, free: 5.465 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002954/0.4111, allocations: 2.146 MB / 0.5796 GB, free: 3.312 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.4121, allocations: 0.6008 MB / 0.5802 GB, free: 2.695 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.4138, allocations: 1.087 MB / 0.5812 GB, free: 1.605 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.4148, allocations: 0.6506 MB / 0.5819 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.415, allocations: 100 kB / 0.582 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.4167, allocations: 0.7517 MB / 0.5827 GB, free: 104 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005465/0.4173, allocations: 498.7 kB / 0.5832 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006489/0.4179, allocations: 475.1 kB / 0.5836 GB, free: 15.15 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.4205, allocations: 1.796 MB / 0.5854 GB, free: 13.35 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4205, allocations: 0 / 0.5854 GB, free: 13.35 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4205, allocations: 4 kB / 0.5854 GB, free: 13.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.4205, allocations: 2.906 kB / 0.5854 GB, free: 13.34 MB / 478.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.002725/0.4232, allocations: 1.272 MB / 0.5866 GB, free: 12.04 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4233, allocations: 8.031 kB / 0.5866 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009649/0.4242, allocations: 191.2 kB / 0.5868 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009374/0.4252, allocations: 0.5089 MB / 0.5873 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.103e-05/0.4252, allocations: 62 kB / 0.5874 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.4254, allocations: 91.89 kB / 0.5875 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.4279, allocations: 1.716 MB / 0.5891 GB, free: 9.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.4279, allocations: 3.984 kB / 0.5892 GB, free: 9.262 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.428, allocations: 40 kB / 0.5892 GB, free: 9.223 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.428, allocations: 20 kB / 0.5892 GB, free: 9.203 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.43, allocations: 0.8784 MB / 0.5901 GB, free: 8.324 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.005435/0.4354, allocations: 2.145 MB / 0.5922 GB, free: 6.145 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.4372, allocations: 0.6328 MB / 0.5928 GB, free: 5.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007389/0.4379, allocations: 327.8 kB / 0.5931 GB, free: 5.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.309e-05/0.438, allocations: 12.5 kB / 0.5931 GB, free: 5.168 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.266e-05/0.438, allocations: 47.06 kB / 0.5931 GB, free: 5.113 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 2.204e-06/0.438, allocations: 0 / 0.5931 GB, free: 5.113 MB / 478.1 MB Notification: Performance of matching and sorting (n=67): time 0.01125/0.4493, allocations: 3.044 MB / 0.5961 GB, free: 1.988 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.4494, allocations: 119.4 kB / 0.5962 GB, free: 1.848 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005785/0.45, allocations: 457.8 kB / 0.5967 GB, free: 1.395 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.285e-05/0.45, allocations: 41.7 kB / 0.5967 GB, free: 1.348 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.4504, allocations: 392.5 kB / 0.5971 GB, free: 0.957 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.4506, allocations: 245.9 kB / 0.5973 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.4509, allocations: 146.6 kB / 0.5975 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.4511, allocations: 366.8 kB / 0.5978 GB, free: 200 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009126/0.452, allocations: 376.6 kB / 0.5982 GB, free: 15.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.453, allocations: 0.5269 MB / 0.5987 GB, free: 15.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.4548, allocations: 0.7988 MB / 0.5995 GB, free: 14.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4548, allocations: 4 kB / 0.5995 GB, free: 14.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003506/0.4583, allocations: 1.31 MB / 0.6007 GB, free: 13.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4584, allocations: 8 kB / 0.6008 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4584, allocations: 0 / 0.6008 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0055/0.4639, allocations: 1.015 MB / 0.6017 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.4645, allocations: 104.7 kB / 0.6018 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.4673, allocations: 1.433 MB / 0.6032 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/0.468, allocations: 51.94 kB / 0.6033 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-05/0.4681, allocations: 39.98 kB / 0.6033 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001061/0.4692, allocations: 0.5018 MB / 0.6038 GB, free: 9.926 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009033/0.4701, allocations: 0.4901 MB / 0.6043 GB, free: 9.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001599/0.4717, allocations: 0.754 MB / 0.605 GB, free: 8.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.23e-06/0.4717, allocations: 4 kB / 0.605 GB, free: 8.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.003043/0.4747, allocations: 1.126 MB / 0.6061 GB, free: 7.453 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4747, allocations: 10.97 kB / 0.6062 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4747, allocations: 0 / 0.6062 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/0.4766, allocations: 444.2 kB / 0.6066 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008117/0.4774, allocations: 163.8 kB / 0.6067 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.4798, allocations: 2.197 MB / 0.6089 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006806/0.4805, allocations: 47.95 kB / 0.6089 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/0.4806, allocations: 31.98 kB / 0.609 GB, free: 4.504 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.0003252/0.4809, allocations: 220.1 kB / 0.6092 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.4811, allocations: 71.81 kB / 0.6092 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/0.4838, allocations: 1.012 MB / 0.6102 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.4838, allocations: 8 kB / 0.6102 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4838, allocations: 0 / 0.6102 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.4838, allocations: 7.984 kB / 0.6102 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.4876, allocations: 1.751 MB / 0.6119 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.4876, allocations: 4.062 kB / 0.6119 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000996/0.4886, allocations: 163.8 kB / 0.6121 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002667/0.4913, allocations: 429.2 kB / 0.6125 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/0.4913, allocations: 27.92 kB / 0.6125 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/0.4943, allocations: 2.75 MB / 0.6152 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4943, allocations: 3.938 kB / 0.6152 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/0.4975, allocations: 1.432 MB / 0.6166 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.4976, allocations: 67.53 kB / 0.6167 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.4977, allocations: 20 kB / 0.6167 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008609/0.4986, allocations: 59.92 kB / 0.6168 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.4988, allocations: 64.48 kB / 0.6168 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.4989, allocations: 43.95 kB / 0.6169 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004229/0.4993, allocations: 311.1 kB / 0.6172 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4993, allocations: 0 / 0.6172 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001499/0.5008, allocations: 0.5191 MB / 0.6177 GB, free: 11.3 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.001138/0.5019, allocations: 407.3 kB / 0.6181 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004276/0.5062, allocations: 1.452 MB / 0.6195 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.5062, allocations: 4.656 kB / 0.6195 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.5076, allocations: 0.5766 MB / 0.62 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.5095, allocations: 344 kB / 0.6204 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.5127, allocations: 1.666 MB / 0.622 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.5132, allocations: 406.1 kB / 0.6224 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006976/0.5139, allocations: 156.8 kB / 0.6225 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.5141, allocations: 64.48 kB / 0.6226 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.5141, allocations: 0 / 0.6226 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of Templates: time 0.04214/0.5562, allocations: 24.03 MB / 0.6461 GB, free: 14.08 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.088902723044157] Failed to read output from testmodel.py, exit status != 0: 0.5668008327484131 0.583599234 0.158049234 Calling exit ...