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.0008335/0.0008335, allocations: 93.31 kB / 16.65 MB, free: 6.586 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.0008897/0.0008898, allocations: 183.8 kB / 17.57 MB, free: 6.203 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.143/1.143, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2248/0.2248, allocations: 48.78 MB / 320.8 MB, free: 11.18 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.0004406/0.0004406, allocations: 14.66 kB / 391.9 MB, free: 50.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07332/0.07377, allocations: 60.26 MB / 452.2 MB, free: 9.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.3238/0.3976, allocations: 193.9 MB / 0.6309 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.401, allocations: 2.266 MB / 0.6331 GB, free: 4.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003012/0.4013, allocations: 15.59 kB / 0.6331 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009362/0.4023, allocations: 428.7 kB / 0.6336 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009331/0.4032, allocations: 0.6575 MB / 0.6342 GB, free: 3.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.4053, allocations: 1.062 MB / 0.6352 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002084/0.4074, allocations: 2.966 MB / 0.6381 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007238/0.4081, allocations: 0.6121 MB / 0.6387 GB, free: 28 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007334/0.4089, allocations: 0.6812 MB / 0.6394 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000714/0.4096, allocations: 0.7395 MB / 0.6401 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-05/0.4097, allocations: 52 kB / 0.6402 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.4112, allocations: 1.064 MB / 0.6412 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.4116, allocations: 422.9 kB / 0.6416 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004806/0.4121, allocations: 0.5696 MB / 0.6422 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.4135, allocations: 1.694 MB / 0.6438 GB, free: 10.79 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.4135, allocations: 0 / 0.6438 GB, free: 10.79 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4135, allocations: 4 kB / 0.6438 GB, free: 10.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.4136, allocations: 0 / 0.6438 GB, free: 10.79 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.001911/0.4155, allocations: 1.139 MB / 0.6449 GB, free: 9.602 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.4155, allocations: 8.031 kB / 0.6449 GB, free: 9.594 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.4157, allocations: 130.9 kB / 0.6451 GB, free: 9.457 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007669/0.4164, allocations: 186.7 kB / 0.6452 GB, free: 9.273 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006647/0.4171, allocations: 0.5586 MB / 0.6458 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.4172, allocations: 58 kB / 0.6458 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.4173, allocations: 87.41 kB / 0.6459 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.419, allocations: 1.087 MB / 0.647 GB, free: 7.434 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.419, allocations: 0 / 0.647 GB, free: 7.434 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.918e-05/0.4191, allocations: 32 kB / 0.647 GB, free: 7.402 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.4192, allocations: 20 kB / 0.647 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.4208, allocations: 0.9291 MB / 0.6479 GB, free: 6.453 MB / 462.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.004929/0.4257, allocations: 3.955 MB / 0.6518 GB, free: 2.121 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.4273, allocations: 0.8658 MB / 0.6527 GB, free: 1.211 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00063/0.4279, allocations: 362.4 kB / 0.653 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.601e-05/0.428, allocations: 16.55 kB / 0.653 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.428, allocations: 47.12 kB / 0.6531 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 1.573e-06/0.428, allocations: 0 / 0.6531 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of matching and sorting (n=67): time 0.009342/0.4374, allocations: 3.376 MB / 0.6564 GB, free: 13.29 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.4375, allocations: 115.4 kB / 0.6565 GB, free: 13.15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006467/0.4381, allocations: 0.6524 MB / 0.6571 GB, free: 12.49 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/0.4382, allocations: 41.7 kB / 0.6571 GB, free: 12.44 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.4384, allocations: 372.1 kB / 0.6575 GB, free: 12.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.4386, allocations: 232.6 kB / 0.6577 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-05/0.4387, allocations: 65.69 kB / 0.6578 GB, free: 11.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4388, allocations: 382.8 kB / 0.6582 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007145/0.4396, allocations: 377.8 kB / 0.6585 GB, free: 11.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007747/0.4403, allocations: 496.2 kB / 0.659 GB, free: 10.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.4418, allocations: 0.8219 MB / 0.6598 GB, free: 9.652 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4418, allocations: 0 / 0.6598 GB, free: 9.652 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002734/0.4446, allocations: 1.36 MB / 0.6611 GB, free: 8.285 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.317e-05/0.4447, allocations: 147.9 kB / 0.6613 GB, free: 8.105 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4447, allocations: 11.92 kB / 0.6613 GB, free: 8.094 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004617/0.4493, allocations: 0.9994 MB / 0.6622 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.4498, allocations: 115.9 kB / 0.6624 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.4519, allocations: 1.448 MB / 0.6638 GB, free: 5.504 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.4526, allocations: 123.7 kB / 0.6639 GB, free: 5.383 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/0.4527, allocations: 31.98 kB / 0.6639 GB, free: 5.352 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.841e-06/0.4527, allocations: 4 kB / 0.6639 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002587/0.4553, allocations: 1.176 MB / 0.6651 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.4553, allocations: 0 / 0.6651 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.4569, allocations: 444.5 kB / 0.6655 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/0.4576, allocations: 175.8 kB / 0.6657 GB, free: 3.562 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.4592, allocations: 2.185 MB / 0.6678 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006073/0.4598, allocations: 111.9 kB / 0.6679 GB, free: 1.195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.4599, allocations: 32 kB / 0.6679 GB, free: 1.164 MB / 478.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.0003388/0.4602, allocations: 329.7 kB / 0.6682 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.4604, allocations: 83.06 kB / 0.6683 GB, free: 0.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.4625, allocations: 1.072 MB / 0.6694 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.4626, allocations: 11.94 kB / 0.6694 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4626, allocations: 0 / 0.6694 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.4626, allocations: 3.984 kB / 0.6694 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/0.4657, allocations: 2.111 MB / 0.6714 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4657, allocations: 0 / 0.6714 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008429/0.4665, allocations: 175.9 kB / 0.6716 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002356/0.4689, allocations: 441.2 kB / 0.672 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.469, allocations: 23.98 kB / 0.6721 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.471, allocations: 2.798 MB / 0.6748 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.471, allocations: 11.91 kB / 0.6748 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.4735, allocations: 1.516 MB / 0.6763 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.4737, allocations: 168.1 kB / 0.6764 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.4738, allocations: 16 kB / 0.6765 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007977/0.4746, allocations: 99.75 kB / 0.6766 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.4747, allocations: 64.47 kB / 0.6766 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-05/0.4748, allocations: 47.95 kB / 0.6767 GB, free: 7.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004433/0.4753, allocations: 463 kB / 0.6771 GB, free: 7.406 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4753, allocations: 0 / 0.6771 GB, free: 7.406 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001112/0.4764, allocations: 0.5195 MB / 0.6776 GB, free: 6.887 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 (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.003636/0.48, allocations: 2.385 MB / 0.6799 GB, free: 4.453 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003424/0.4835, allocations: 1.57 MB / 0.6815 GB, free: 2.887 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.4835, allocations: 4.656 kB / 0.6815 GB, free: 2.883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.4846, allocations: 0.6114 MB / 0.6821 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/0.4867, allocations: 479.3 kB / 0.6825 GB, free: 1.789 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.4988, allocations: 8.756 MB / 0.6911 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.4993, allocations: 1.003 MB / 0.6921 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007143/0.5, allocations: 178.1 kB / 0.6922 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.5004, allocations: 311.3 kB / 0.6925 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.5004, allocations: 0 / 0.6925 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04574/0.5461, allocations: 33.98 MB / 0.7257 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/0.5463, allocations: 223.8 kB / 0.7259 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/2.962, allocations: 4 kB / 0.7259 GB, free: 5.035 MB / 0.5294 GB (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/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)