Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.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.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorConstSpeed,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed",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.00103/0.00103, allocations: 95.39 kB / 16.32 MB, free: 5.555 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.001125/0.001125, allocations: 177.8 kB / 17.21 MB, free: 5.477 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.515/1.515, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2948/0.2948, allocations: 48.78 MB / 320.4 MB, free: 11.21 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.0005108/0.000511, allocations: 11.62 kB / 391.3 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09527, allocations: 60.28 MB / 451.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.3864/0.4818, allocations: 155.2 MB / 0.5925 GB, free: 14.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004477/0.4863, allocations: 3.68 MB / 0.5961 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004149/0.4867, allocations: 13.88 kB / 0.5961 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.4873, allocations: 186.3 kB / 0.5962 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009971/0.4883, allocations: 0.5378 MB / 0.5968 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.4919, allocations: 1.209 MB / 0.598 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001784/0.4937, allocations: 1.453 MB / 0.5994 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005139/0.4943, allocations: 337.9 kB / 0.5997 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006659/0.4949, allocations: 463.3 kB / 0.6001 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005686/0.4955, allocations: 497.3 kB / 0.6006 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.838e-05/0.4956, allocations: 26.75 kB / 0.6006 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.4981, allocations: 1.099 MB / 0.6017 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003555/0.4985, allocations: 450.4 kB / 0.6021 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.4987, allocations: 221.5 kB / 0.6024 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.5003, allocations: 1.376 MB / 0.6037 GB, free: 9.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5004, allocations: 2.469 kB / 0.6037 GB, free: 9.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.5004, allocations: 0 / 0.6037 GB, free: 9.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.5004, allocations: 0 / 0.6037 GB, free: 9.562 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001905/0.5023, allocations: 1.347 MB / 0.605 GB, free: 8.594 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.5024, allocations: 10.5 kB / 0.605 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.5025, allocations: 93.45 kB / 0.6051 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006932/0.5032, allocations: 193.6 kB / 0.6053 GB, free: 8.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.5043, allocations: 0.8173 MB / 0.6061 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.5043, allocations: 36.81 kB / 0.6061 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.233e-05/0.5044, allocations: 55.41 kB / 0.6062 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000871/0.5053, allocations: 0.602 MB / 0.6068 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.5053, allocations: 3.312 kB / 0.6068 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.5054, allocations: 21.88 kB / 0.6068 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.5054, allocations: 10.81 kB / 0.6068 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.506, allocations: 483.3 kB / 0.6073 GB, free: 7.73 MB / 430.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.003741/0.5097, allocations: 2.612 MB / 0.6098 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.51, allocations: 138.9 kB / 0.6099 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.5101, allocations: 52.34 kB / 0.61 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002302/0.5103, allocations: 124.4 kB / 0.6101 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.5103, allocations: 37.97 kB / 0.6102 GB, free: 5.949 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.5104, allocations: 0 / 0.6102 GB, free: 5.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005027/0.5109, allocations: 285.5 kB / 0.6104 GB, free: 5.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.5109, allocations: 53.91 kB / 0.6105 GB, free: 5.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.5129, allocations: 1.922 MB / 0.6124 GB, free: 5.312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.5129, allocations: 36.14 kB / 0.6124 GB, free: 5.277 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.5133, allocations: 0.5884 MB / 0.613 GB, free: 5.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.5134, allocations: 53.53 kB / 0.613 GB, free: 5.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.5134, allocations: 8.312 kB / 0.613 GB, free: 5.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.058e-05/0.5135, allocations: 319.7 kB / 0.6133 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.5137, allocations: 119.8 kB / 0.6134 GB, free: 4.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.5139, allocations: 246.6 kB / 0.6137 GB, free: 4.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.5141, allocations: 146.1 kB / 0.6138 GB, free: 4.461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5142, allocations: 2.688 kB / 0.6138 GB, free: 4.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000704/0.5149, allocations: 0.4888 MB / 0.6143 GB, free: 4.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.5149, allocations: 7.906 kB / 0.6143 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.5149, allocations: 2.969 kB / 0.6143 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.5149, allocations: 11.77 kB / 0.6143 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.5156, allocations: 112.5 kB / 0.6144 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006759/0.5163, allocations: 1.2 MB / 0.6156 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.5169, allocations: 74.89 kB / 0.6157 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.5169, allocations: 22 kB / 0.6157 GB, free: 3.023 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005081/0.5174, allocations: 378.2 kB / 0.616 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.5176, allocations: 122.7 kB / 0.6162 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/0.518, allocations: 295.2 kB / 0.6164 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.518, allocations: 0 / 0.6164 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.518, allocations: 0 / 0.6164 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.518, allocations: 7.922 kB / 0.6165 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007616/0.5188, allocations: 0.6872 MB / 0.6171 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5188, allocations: 0 / 0.6171 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.5191, allocations: 47.47 kB / 0.6172 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.5191, allocations: 0 / 0.6172 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.5191, allocations: 5.938 kB / 0.6172 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005636/0.5197, allocations: 1.191 MB / 0.6183 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5197, allocations: 0 / 0.6183 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/0.5201, allocations: 404.2 kB / 0.6187 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.5205, allocations: 256.9 kB / 0.619 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.5206, allocations: 7.938 kB / 0.619 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004069/0.521, allocations: 22.48 kB / 0.619 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.521, allocations: 10.83 kB / 0.619 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.5211, allocations: 15.58 kB / 0.619 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001461/0.5226, allocations: 1.372 MB / 0.6204 GB, free: 368 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5226, allocations: 64 / 0.6204 GB, free: 368 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000772/0.5233, allocations: 244.7 kB / 0.6206 GB, free: 332 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ConstantSpeed1.phi) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00184/0.5252, allocations: 1.344 MB / 0.6219 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005748/0.5258, allocations: 245.6 kB / 0.6221 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5258, allocations: 1.125 kB / 0.6221 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.526, allocations: 72.59 kB / 0.6222 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.5275, allocations: 352.5 kB / 0.6226 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.5394, allocations: 7.79 MB / 0.6302 GB, free: 7.543 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006454/0.5401, allocations: 1.11 MB / 0.6312 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007423/0.5409, allocations: 228.5 kB / 0.6315 GB, free: 6.176 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004558/0.5414, allocations: 403.3 kB / 0.6318 GB, free: 5.781 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5414, allocations: 0 / 0.6318 GB, free: 5.781 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04763/0.589, allocations: 27.43 MB / 0.6586 GB, free: 10.31 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.5893, allocations: 262.3 kB / 0.6589 GB, free: 9.961 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/3.038, allocations: 0 / 0.6589 GB, free: 9.961 MB / 478.1 MB (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) Environment - environmentSimulation: