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.001579/0.001579, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 73.55 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6853/0.6853, allocations: 48.77 MB / 358.8 MB, free: 53.16 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.056e-05, allocations: 4 kB / 425.4 MB, free: 8.141 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1753, allocations: 60.25 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.35/2.525, allocations: 0.7177 GB / 1.192 GB, free: 105.9 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/2.526, allocations: 79.95 kB / 1.192 GB, free: 105.8 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.7478/3.274, allocations: 203.5 MB / 1.391 GB, free: 111 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.703e-06/3.274, allocations: 0 / 1.391 GB, free: 111 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 8.585e-05/3.274, allocations: 27.62 kB / 1.391 GB, free: 111 MB / 0.5108 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.002048/3.276, allocations: 1.182 MB / 1.392 GB, free: 110 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/3.276, allocations: 12.03 kB / 1.392 GB, free: 110 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007617/3.277, allocations: 182.2 kB / 1.392 GB, free: 109.8 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/3.278, allocations: 0.8901 MB / 1.393 GB, free: 108.9 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/3.278, allocations: 16 kB / 1.393 GB, free: 108.9 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/3.278, allocations: 28 kB / 1.393 GB, free: 108.8 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006503/3.279, allocations: 418.5 kB / 1.393 GB, free: 108.4 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007857/3.279, allocations: 0.508 MB / 1.394 GB, free: 107.9 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/3.279, allocations: 8 kB / 1.394 GB, free: 107.9 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/3.28, allocations: 0 / 1.394 GB, free: 107.9 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/3.28, allocations: 12 kB / 1.394 GB, free: 107.9 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or 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.003766/3.283, allocations: 2.453 MB / 1.396 GB, free: 105.3 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/3.284, allocations: 130.6 kB / 1.396 GB, free: 105.2 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/3.284, allocations: 48.8 kB / 1.397 GB, free: 105.1 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/3.284, allocations: 121.1 kB / 1.397 GB, free: 105 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/3.284, allocations: 38.56 kB / 1.397 GB, free: 104.9 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=13): time 2.254e-06/3.284, allocations: 3.938 kB / 1.397 GB, free: 104.9 MB / 0.5108 GB Notification: Performance of matching and sorting (n=13): time 0.0004676/3.284, allocations: 221.8 kB / 1.397 GB, free: 104.7 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/3.284, allocations: 59.41 kB / 1.397 GB, free: 104.6 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/3.286, allocations: 1.453 MB / 1.398 GB, free: 103.2 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/3.286, allocations: 25.7 kB / 1.398 GB, free: 103.1 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/3.287, allocations: 0.5969 MB / 1.399 GB, free: 102.5 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/3.287, allocations: 51.3 kB / 1.399 GB, free: 102.5 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/3.287, allocations: 0 / 1.399 GB, free: 102.5 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/3.287, allocations: 318 kB / 1.399 GB, free: 102.2 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/3.287, allocations: 113.2 kB / 1.399 GB, free: 102.1 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/3.287, allocations: 239.6 kB / 1.4 GB, free: 101.8 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/3.287, allocations: 131.8 kB / 1.4 GB, free: 101.6 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/3.287, allocations: 0 / 1.4 GB, free: 101.6 MB / 0.5108 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005771/3.288, allocations: 439.9 kB / 1.4 GB, free: 101.2 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/3.288, allocations: 8 kB / 1.4 GB, free: 101.2 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/3.288, allocations: 4 kB / 1.4 GB, free: 101.2 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/3.288, allocations: 8 kB / 1.4 GB, free: 101.2 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/3.288, allocations: 107.9 kB / 1.4 GB, free: 101.1 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004988/3.289, allocations: 1.196 MB / 1.401 GB, free: 99.83 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/3.289, allocations: 47.52 kB / 1.402 GB, free: 99.79 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/3.289, allocations: 19.98 kB / 1.402 GB, free: 99.77 MB / 0.5108 GB Warning: Assuming fixed start value for the following 1 variables: ConstantSpeed1.phi:VARIABLE(unit = "rad" ) "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 () * 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.0001547/3.29, allocations: 127.6 kB / 1.402 GB, free: 99.64 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003028/3.29, allocations: 212.4 kB / 1.402 GB, free: 99.42 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/3.29, allocations: 114.6 kB / 1.402 GB, free: 99.31 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/3.29, allocations: 256 kB / 1.402 GB, free: 99.05 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/3.291, allocations: 4 kB / 1.402 GB, free: 99.05 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/3.291, allocations: 0 / 1.402 GB, free: 99.05 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/3.291, allocations: 0 / 1.402 GB, free: 99.05 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007391/3.291, allocations: 0.6486 MB / 1.403 GB, free: 98.37 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/3.291, allocations: 0 / 1.403 GB, free: 98.37 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/3.292, allocations: 55.95 kB / 1.403 GB, free: 98.31 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/3.292, allocations: 0 / 1.403 GB, free: 98.31 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/3.292, allocations: 11.95 kB / 1.403 GB, free: 98.3 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000408/3.292, allocations: 1.184 MB / 1.404 GB, free: 97.07 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/3.292, allocations: 4.062 kB / 1.404 GB, free: 97.07 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/3.292, allocations: 382.2 kB / 1.404 GB, free: 96.68 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/3.293, allocations: 263.7 kB / 1.405 GB, free: 96.4 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/3.293, allocations: 0 / 1.405 GB, free: 96.4 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/3.293, allocations: 23.83 kB / 1.405 GB, free: 96.38 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/3.293, allocations: 11.98 kB / 1.405 GB, free: 96.37 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/3.293, allocations: 19.98 kB / 1.405 GB, free: 96.35 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.00114/3.294, allocations: 1.111 MB / 1.406 GB, free: 95.23 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.7e-07/3.294, allocations: 0 / 1.406 GB, free: 95.23 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.001072/3.296, allocations: 307.4 kB / 1.406 GB, free: 94.93 MB / 0.5108 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 () * 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.002535/3.298, allocations: 1.886 MB / 1.408 GB, free: 93.17 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.0005062/3.299, allocations: 220.4 kB / 1.408 GB, free: 92.96 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/3.299, allocations: 3.938 kB / 1.408 GB, free: 92.96 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/3.299, allocations: 71.92 kB / 1.408 GB, free: 92.89 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008772/3.3, allocations: 182 kB / 1.408 GB, free: 92.71 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/3.303, allocations: 1.749 MB / 1.41 GB, free: 90.91 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/3.303, allocations: 1.128 MB / 1.411 GB, free: 89.75 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0005732/3.304, allocations: 202.6 kB / 1.411 GB, free: 89.55 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/3.304, allocations: 399.2 kB / 1.412 GB, free: 89.16 MB / 0.5108 GB Notification: Performance of SimCode: time 6.41e-07/3.304, allocations: 0 / 1.412 GB, free: 89.16 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05254/3.357, allocations: 24.99 MB / 1.436 GB, free: 64.15 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/3.357, allocations: 169.8 kB / 1.436 GB, free: 63.96 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/6.172, allocations: 0 / 1.436 GB, free: 63.96 MB / 0.5108 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)