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: "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestGasMixer,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 98.2 kB / 16.3 MB, free: 5.988 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.001652/0.001652, allocations: 179.2 kB / 17.19 MB, free: 5.906 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.654/1.654, allocations: 205.4 MB / 223.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4263/0.4263, allocations: 48.77 MB / 320.4 MB, free: 3.812 MB / 254.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.000948/0.0009485, allocations: 16 kB / 391.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1598, allocations: 60.25 MB / 451.5 MB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.5439/0.7037, allocations: 151.5 MB / 0.5888 GB, free: 5.637 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006324/0.7101, allocations: 2.126 MB / 0.5909 GB, free: 3.508 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.7112, allocations: 11.94 kB / 0.5909 GB, free: 3.496 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.713, allocations: 370.3 kB / 0.5913 GB, free: 3.133 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.7151, allocations: 0.5102 MB / 0.5918 GB, free: 2.621 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004093/0.7192, allocations: 0.8793 MB / 0.5926 GB, free: 1.758 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003095/0.7223, allocations: 1.181 MB / 0.5938 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.7239, allocations: 0.5849 MB / 0.5943 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.7259, allocations: 0.6583 MB / 0.595 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.727, allocations: 0.4944 MB / 0.5955 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002099/0.7273, allocations: 52 kB / 0.5955 GB, free: 14.78 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.7296, allocations: 0.5618 MB / 0.5961 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006479/0.7303, allocations: 387.1 kB / 0.5964 GB, free: 13.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004885/0.7308, allocations: 233.2 kB / 0.5967 GB, free: 13.6 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.7331, allocations: 1.213 MB / 0.5979 GB, free: 12.39 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7332, allocations: 0 / 0.5979 GB, free: 12.39 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.7332, allocations: 4 kB / 0.5979 GB, free: 12.39 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.7332, allocations: 0 / 0.5979 GB, free: 12.39 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.003658/0.7369, allocations: 1.146 MB / 0.599 GB, free: 11.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.737, allocations: 8.031 kB / 0.599 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003207/0.7373, allocations: 138.9 kB / 0.5991 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.7388, allocations: 182.8 kB / 0.5993 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.7402, allocations: 0.5471 MB / 0.5998 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/0.7403, allocations: 65.98 kB / 0.5999 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.7405, allocations: 87.91 kB / 0.6 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.7434, allocations: 1.068 MB / 0.601 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.7434, allocations: 4 kB / 0.601 GB, free: 9.043 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.7436, allocations: 36 kB / 0.601 GB, free: 9.008 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/0.7437, allocations: 20 kB / 0.6011 GB, free: 8.988 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.7466, allocations: 0.9096 MB / 0.602 GB, free: 8.078 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.009612/0.7562, allocations: 3.927 MB / 0.6058 GB, free: 3.777 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/0.7591, allocations: 0.8656 MB / 0.6066 GB, free: 2.867 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-05/0.7593, allocations: 16.55 kB / 0.6067 GB, free: 2.852 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.284e-05/0.7593, allocations: 45.77 kB / 0.6067 GB, free: 2.801 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 5.31e-06/0.7594, allocations: 4 kB / 0.6067 GB, free: 2.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=67): time 0.01784/0.7772, allocations: 3.353 MB / 0.61 GB, free: 15.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.7774, allocations: 111.4 kB / 0.6101 GB, free: 15.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.7787, allocations: 0.6485 MB / 0.6107 GB, free: 14.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.7789, allocations: 41.7 kB / 0.6108 GB, free: 14.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.7793, allocations: 364.2 kB / 0.6111 GB, free: 14.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.7796, allocations: 236.5 kB / 0.6113 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.7797, allocations: 16 kB / 0.6113 GB, free: 13.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002688/0.78, allocations: 386.8 kB / 0.6117 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.7813, allocations: 385.8 kB / 0.6121 GB, free: 13.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.7828, allocations: 492.2 kB / 0.6125 GB, free: 12.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.7842, allocations: 426.8 kB / 0.613 GB, free: 12.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.68e-05/0.7842, allocations: 4 kB / 0.613 GB, free: 12.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.004959/0.7892, allocations: 1.348 MB / 0.6143 GB, free: 10.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005404/0.7898, allocations: 0.8016 MB / 0.6151 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.7898, allocations: 4.625 kB / 0.6151 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007548/0.7974, allocations: 0.9783 MB / 0.616 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008776/0.7983, allocations: 122.2 kB / 0.6161 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/0.8024, allocations: 1.44 MB / 0.6175 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.804, allocations: 111.8 kB / 0.6176 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.8042, allocations: 35.98 kB / 0.6177 GB, free: 7.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.8042, allocations: 4 kB / 0.6177 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003985/0.8082, allocations: 1.078 MB / 0.6187 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.8082, allocations: 0 / 0.6187 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002727/0.811, allocations: 450.5 kB / 0.6192 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.8123, allocations: 183.7 kB / 0.6193 GB, free: 5.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/0.8153, allocations: 2.188 MB / 0.6215 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.8169, allocations: 115.9 kB / 0.6216 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.817, allocations: 31.98 kB / 0.6216 GB, free: 3.145 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 (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.0008029/0.8178, allocations: 317 kB / 0.6219 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/0.8181, allocations: 83.06 kB / 0.622 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003903/0.8221, allocations: 1.082 MB / 0.6231 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.8221, allocations: 8 kB / 0.6231 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.8221, allocations: 0 / 0.6231 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.8222, allocations: 7.984 kB / 0.6231 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.325/1.147, allocations: 2.098 MB / 0.6251 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.147, allocations: 8.109 kB / 0.6251 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/1.149, allocations: 172 kB / 0.6253 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003404/1.152, allocations: 444 kB / 0.6257 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/1.152, allocations: 26.69 kB / 0.6257 GB, free: 154 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/1.155, allocations: 2.783 MB / 0.6285 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.155, allocations: 2.969 kB / 0.6285 GB, free: 151.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004177/1.159, allocations: 1.562 MB / 0.63 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/1.16, allocations: 160 kB / 0.6301 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/1.16, allocations: 19.72 kB / 0.6302 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.161, allocations: 103 kB / 0.6303 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/1.162, allocations: 63.7 kB / 0.6303 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.162, allocations: 49.56 kB / 0.6304 GB, free: 151.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008024/1.163, allocations: 461 kB / 0.6308 GB, free: 151.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/1.163, allocations: 0 / 0.6308 GB, free: 151.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002378/1.165, allocations: 0.5135 MB / 0.6313 GB, free: 151.2 MB / 494.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.006165/1.171, allocations: 2.666 MB / 0.6339 GB, free: 150.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005762/1.177, allocations: 1.571 MB / 0.6354 GB, free: 150.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/1.177, allocations: 0.6562 kB / 0.6354 GB, free: 150.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/1.179, allocations: 0.6084 MB / 0.636 GB, free: 149.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/1.183, allocations: 459.3 kB / 0.6365 GB, free: 149.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006111/1.189, allocations: 4 MB / 0.6404 GB, free: 146.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/1.19, allocations: 1.016 MB / 0.6414 GB, free: 146.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001543/1.191, allocations: 180.5 kB / 0.6416 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/1.192, allocations: 308.8 kB / 0.6418 GB, free: 145.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/1.192, allocations: 4 kB / 0.6418 GB, free: 145.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09119/1.283, allocations: 33.34 MB / 0.6744 GB, free: 132.3 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/1.283, allocations: 215.6 kB / 0.6746 GB, free: 132.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.287/4.571, allocations: 0 / 0.6746 GB, free: 132.1 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestGasMixer.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestGasMixer.pipe 2>&1) Environment - environmentSimulation: