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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 180.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 99.27 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5934/0.5934, allocations: 48.78 MB / 367.9 MB, free: 47.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003859, allocations: 8 kB / 438.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1485, allocations: 60.24 MB / 499 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.072/2.221, allocations: 0.7185 GB / 1.206 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/2.221, allocations: 81.41 kB / 1.206 GB, free: 74.67 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7464/2.967, allocations: 206.1 MB / 1.407 GB, free: 78.87 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.323e-06/2.967, allocations: 0 / 1.407 GB, free: 78.87 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.547e-05/2.968, allocations: 23.98 kB / 1.407 GB, free: 78.84 MB / 0.5105 GB 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.003109/2.971, allocations: 1.414 MB / 1.408 GB, free: 77.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.316e-05/2.971, allocations: 8.031 kB / 1.409 GB, free: 77.37 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001914/2.971, allocations: 94.52 kB / 1.409 GB, free: 77.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009132/2.972, allocations: 182.3 kB / 1.409 GB, free: 77.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/2.974, allocations: 0.8949 MB / 1.41 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/2.974, allocations: 37.31 kB / 1.41 GB, free: 76.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/2.974, allocations: 52 kB / 1.41 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/2.975, allocations: 0.5963 MB / 1.41 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/2.975, allocations: 8 kB / 1.41 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.295e-05/2.975, allocations: 24 kB / 1.41 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/2.975, allocations: 12 kB / 1.41 GB, free: 75.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006904/2.976, allocations: 461 kB / 1.411 GB, free: 74.95 MB / 0.5105 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.004245/2.98, allocations: 2.613 MB / 1.413 GB, free: 72.17 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/2.98, allocations: 146.6 kB / 1.413 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/2.98, allocations: 117.1 kB / 1.414 GB, free: 71.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/2.98, allocations: 38.56 kB / 1.414 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/2.98, allocations: 3.938 kB / 1.414 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0005412/2.981, allocations: 279.4 kB / 1.414 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/2.981, allocations: 59.41 kB / 1.414 GB, free: 71.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/2.983, allocations: 1.74 MB / 1.416 GB, free: 69.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/2.983, allocations: 25.7 kB / 1.416 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/2.983, allocations: 0.5908 MB / 1.416 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/2.983, allocations: 51.3 kB / 1.416 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/2.983, allocations: 4 kB / 1.416 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/2.984, allocations: 329.9 kB / 1.417 GB, free: 68.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/2.984, allocations: 129.1 kB / 1.417 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/2.984, allocations: 239.8 kB / 1.417 GB, free: 68.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/2.984, allocations: 143.9 kB / 1.417 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/2.984, allocations: 0 / 1.417 GB, free: 68.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006264/2.985, allocations: 499.7 kB / 1.418 GB, free: 67.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/2.985, allocations: 8 kB / 1.418 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/2.985, allocations: 4 kB / 1.418 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/2.985, allocations: 8 kB / 1.418 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/2.985, allocations: 115.8 kB / 1.418 GB, free: 67.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004747/2.986, allocations: 1.2 MB / 1.419 GB, free: 66.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/2.986, allocations: 71.3 kB / 1.419 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.522e-05/2.986, allocations: 23.98 kB / 1.419 GB, free: 66.18 MB / 0.5105 GB 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.0005491/2.987, allocations: 394.3 kB / 1.419 GB, free: 65.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/2.987, allocations: 126.5 kB / 1.419 GB, free: 65.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/2.988, allocations: 277.2 kB / 1.42 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/2.988, allocations: 0 / 1.42 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/2.988, allocations: 0 / 1.42 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/2.988, allocations: 0 / 1.42 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000767/2.988, allocations: 0.7189 MB / 1.42 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/2.988, allocations: 7.875 kB / 1.42 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/2.989, allocations: 55.95 kB / 1.421 GB, free: 64.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/2.989, allocations: 3.953 kB / 1.421 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/2.989, allocations: 4 kB / 1.421 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003678/2.989, allocations: 1.184 MB / 1.422 GB, free: 63.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/2.989, allocations: 8.141 kB / 1.422 GB, free: 63.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/2.99, allocations: 400.5 kB / 1.422 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004821/2.99, allocations: 291.5 kB / 1.422 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/2.99, allocations: 0 / 1.422 GB, free: 62.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/2.991, allocations: 27.89 kB / 1.422 GB, free: 62.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/2.991, allocations: 7.984 kB / 1.422 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/2.991, allocations: 27.94 kB / 1.422 GB, free: 62.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001464/2.992, allocations: 1.343 MB / 1.424 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.52e-07/2.992, allocations: 0 / 1.424 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001231/2.993, allocations: 319.6 kB / 1.424 GB, free: 60.87 MB / 0.5105 GB 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.002582/2.996, allocations: 1.86 MB / 1.426 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006027/2.997, allocations: 233.8 kB / 1.426 GB, free: 58.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/2.997, allocations: 7.938 kB / 1.426 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/2.997, allocations: 72.09 kB / 1.426 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/2.999, allocations: 351 kB / 1.426 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/3.01, allocations: 10.64 MB / 1.437 GB, free: 47.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/3.01, allocations: 1.127 MB / 1.438 GB, free: 46.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008266/3.011, allocations: 240.3 kB / 1.438 GB, free: 45.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/3.012, allocations: 403.3 kB / 1.439 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of SimCode: time 1.233e-06/3.012, allocations: 0 / 1.439 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08233/3.094, allocations: 38.27 MB / 1.476 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/3.094, allocations: 246.6 kB / 1.476 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/6.508, allocations: 0 / 1.476 GB, free: 6.914 MB / 0.5105 GB (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)