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.001012/0.001012, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.001332/0.001332, allocations: 179.8 kB / 17.21 MB, free: 6.324 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.663/1.663, allocations: 205.4 MB / 223.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4735/0.4735, allocations: 48.77 MB / 320.4 MB, free: 3.82 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.0005158/0.0005158, allocations: 20 kB / 391.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1302, allocations: 60.26 MB / 451.5 MB, free: 1.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasMixer): time 0.4073/0.5375, allocations: 180.5 MB / 0.6173 GB, free: 8.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004119/0.5417, allocations: 2.171 MB / 0.6194 GB, free: 6.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000457/0.5422, allocations: 19.88 kB / 0.6194 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.5433, allocations: 333.9 kB / 0.6197 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.5445, allocations: 0.6565 MB / 0.6203 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.5473, allocations: 0.8746 MB / 0.6212 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002985/0.5503, allocations: 2.492 MB / 0.6236 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.5514, allocations: 0.5654 MB / 0.6242 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.5525, allocations: 0.6928 MB / 0.6249 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3027/0.8553, allocations: 0.7165 MB / 0.6256 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005154/0.8559, allocations: 51.41 kB / 0.6256 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.8582, allocations: 0.6594 MB / 0.6263 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.8587, allocations: 425.5 kB / 0.6267 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.8591, allocations: 233.1 kB / 0.6269 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.8603, allocations: 1.231 MB / 0.6281 GB, free: 6.496 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8603, allocations: 0 / 0.6281 GB, free: 6.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.8603, allocations: 1.875 kB / 0.6281 GB, free: 6.496 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.8604, allocations: 0 / 0.6281 GB, free: 6.496 MB / 494.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.001921/0.8623, allocations: 1.151 MB / 0.6292 GB, free: 5.914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.8623, allocations: 10.47 kB / 0.6292 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.8625, allocations: 134.8 kB / 0.6294 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007803/0.8633, allocations: 177.3 kB / 0.6295 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009372/0.8642, allocations: 0.5435 MB / 0.6301 GB, free: 21.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.8643, allocations: 62.72 kB / 0.6301 GB, free: 21.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.8644, allocations: 86.31 kB / 0.6302 GB, free: 21.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.8661, allocations: 1.073 MB / 0.6312 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.8661, allocations: 5.688 kB / 0.6312 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/0.8662, allocations: 38.16 kB / 0.6313 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.8662, allocations: 19.03 kB / 0.6313 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.8678, allocations: 0.9095 MB / 0.6322 GB, free: 21.46 MB / 0.4981 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.00545/0.8733, allocations: 3.943 MB / 0.636 GB, free: 19.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.8749, allocations: 0.869 MB / 0.6369 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006138/0.8755, allocations: 366.1 kB / 0.6372 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-05/0.8756, allocations: 17 kB / 0.6373 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.8756, allocations: 48 kB / 0.6373 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.467e-06/0.8756, allocations: 6.312 kB / 0.6373 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67): time 0.01002/0.8857, allocations: 3.371 MB / 0.6406 GB, free: 18.26 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.8857, allocations: 110.8 kB / 0.6407 GB, free: 18.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009439/0.8867, allocations: 0.6487 MB / 0.6413 GB, free: 18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.983e-05/0.8868, allocations: 45.27 kB / 0.6414 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.8871, allocations: 374.6 kB / 0.6417 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.8873, allocations: 233.2 kB / 0.642 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.8873, allocations: 16.38 kB / 0.642 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.8875, allocations: 387.5 kB / 0.6423 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008283/0.8884, allocations: 383.4 kB / 0.6427 GB, free: 17.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008997/0.8893, allocations: 494.7 kB / 0.6432 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008732/0.8902, allocations: 429.6 kB / 0.6436 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8902, allocations: 0 / 0.6436 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0031/0.8933, allocations: 1.348 MB / 0.6449 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-05/0.8934, allocations: 153.1 kB / 0.6451 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.8934, allocations: 6.969 kB / 0.6451 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004546/0.898, allocations: 0.9867 MB / 0.646 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/0.8985, allocations: 119.3 kB / 0.6461 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.9008, allocations: 1.439 MB / 0.6475 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009778/0.9018, allocations: 117.3 kB / 0.6477 GB, free: 16.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/0.9019, allocations: 38.28 kB / 0.6477 GB, free: 16.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.9019, allocations: 3.188 kB / 0.6477 GB, free: 16.35 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002441/0.9044, allocations: 1.076 MB / 0.6487 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.9044, allocations: 6.891 kB / 0.6488 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.906, allocations: 444.3 kB / 0.6492 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.9067, allocations: 173.5 kB / 0.6493 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.9085, allocations: 2.188 MB / 0.6515 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008905/0.9094, allocations: 116.6 kB / 0.6516 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.9095, allocations: 33.3 kB / 0.6516 GB, free: 14.56 MB / 0.4981 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 (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.0006332/0.9101, allocations: 324.8 kB / 0.6519 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.9103, allocations: 82.5 kB / 0.652 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.9128, allocations: 1.085 MB / 0.6531 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.9128, allocations: 7.781 kB / 0.6531 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.9128, allocations: 2.5 kB / 0.6531 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.9129, allocations: 3 kB / 0.6531 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.9166, allocations: 2.103 MB / 0.6551 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.9167, allocations: 4.609 kB / 0.6551 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008854/0.9176, allocations: 175.3 kB / 0.6553 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002327/0.9199, allocations: 441.2 kB / 0.6557 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.262e-05/0.92, allocations: 24.8 kB / 0.6558 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002359/0.9224, allocations: 2.782 MB / 0.6585 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9224, allocations: 4.719 kB / 0.6585 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/0.9254, allocations: 1.506 MB / 0.6599 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/0.9259, allocations: 164.4 kB / 0.6601 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.926, allocations: 17.09 kB / 0.6601 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/0.9269, allocations: 112.2 kB / 0.6602 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.9271, allocations: 60.02 kB / 0.6603 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.971e-05/0.9272, allocations: 41.14 kB / 0.6603 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000582/0.9278, allocations: 464.2 kB / 0.6608 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9278, allocations: 0 / 0.6608 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001767/0.9296, allocations: 0.5232 MB / 0.6613 GB, free: 10.86 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 (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.003764/0.9334, allocations: 2.349 MB / 0.6636 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00353/0.9369, allocations: 1.562 MB / 0.6651 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/0.9369, allocations: 3.562 kB / 0.6651 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.938, allocations: 0.602 MB / 0.6657 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/0.9405, allocations: 485.5 kB / 0.6661 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.9511, allocations: 5.852 MB / 0.6719 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/0.9519, allocations: 0.9985 MB / 0.6728 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00114/0.953, allocations: 182.8 kB / 0.673 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004051/0.9535, allocations: 307.7 kB / 0.6733 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.9535, allocations: 0 / 0.6733 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05361/1.007, allocations: 33.29 MB / 0.7058 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.007, allocations: 212.2 kB / 0.706 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/3.671, allocations: 0 / 0.706 GB, free: 14.41 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/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: