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.001364/0.001364, allocations: 95.88 kB / 16.3 MB, free: 6.121 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.001843/0.001843, allocations: 181.8 kB / 17.2 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4876/0.4876, allocations: 48.78 MB / 320.4 MB, free: 11.32 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.0009781/0.0009784, allocations: 14.89 kB / 391.2 MB, free: 50.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1759, allocations: 60.27 MB / 451.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.5409/0.7169, allocations: 136.8 MB / 0.5745 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008849/0.7258, allocations: 4.257 MB / 0.5787 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008261/0.7267, allocations: 10.53 kB / 0.5787 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008131/0.7276, allocations: 201.3 kB / 0.5789 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.7288, allocations: 475.9 kB / 0.5793 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.7332, allocations: 1.236 MB / 0.5805 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002036/0.7352, allocations: 0.7463 MB / 0.5813 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007193/0.736, allocations: 342.5 kB / 0.5816 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.737, allocations: 469.7 kB / 0.582 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.7377, allocations: 366.5 kB / 0.5824 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.739e-05/0.7377, allocations: 25.84 kB / 0.5824 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/0.7409, allocations: 1.032 MB / 0.5834 GB, free: 14.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005109/0.7414, allocations: 427.8 kB / 0.5838 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.7418, allocations: 218.1 kB / 0.584 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.7442, allocations: 1.369 MB / 0.5854 GB, free: 13.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.7442, allocations: 0 / 0.5854 GB, free: 13.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.7442, allocations: 0 / 0.5854 GB, free: 13.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.102e-05/0.7443, allocations: 0 / 0.5854 GB, free: 13.43 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.002712/0.747, allocations: 1.345 MB / 0.5867 GB, free: 12.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.747, allocations: 8.094 kB / 0.5867 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.7472, allocations: 96.05 kB / 0.5868 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008164/0.748, allocations: 194.4 kB / 0.587 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.7496, allocations: 0.811 MB / 0.5878 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.7496, allocations: 36.19 kB / 0.5878 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/0.7497, allocations: 50.59 kB / 0.5878 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.7507, allocations: 0.6047 MB / 0.5884 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.7508, allocations: 0 / 0.5884 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.7508, allocations: 26.08 kB / 0.5885 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.7508, allocations: 13.09 kB / 0.5885 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/0.7515, allocations: 470.9 kB / 0.5889 GB, free: 11.64 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.005216/0.7568, allocations: 2.602 MB / 0.5915 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.7571, allocations: 138.4 kB / 0.5916 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/0.7574, allocations: 124.2 kB / 0.5917 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.7574, allocations: 36.53 kB / 0.5917 GB, free: 9.898 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 3.456e-06/0.7574, allocations: 0 / 0.5917 GB, free: 9.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006535/0.7581, allocations: 285.8 kB / 0.592 GB, free: 9.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.7582, allocations: 53.94 kB / 0.5921 GB, free: 9.719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002373/0.7605, allocations: 1.921 MB / 0.5939 GB, free: 9.262 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.7606, allocations: 31.33 kB / 0.594 GB, free: 9.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004656/0.7611, allocations: 0.5944 MB / 0.5946 GB, free: 9.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.7611, allocations: 54.88 kB / 0.5946 GB, free: 8.969 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.7612, allocations: 9.438 kB / 0.5946 GB, free: 8.965 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.7613, allocations: 321 kB / 0.5949 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.7615, allocations: 124 kB / 0.595 GB, free: 8.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.7618, allocations: 246.5 kB / 0.5953 GB, free: 8.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.762, allocations: 143.1 kB / 0.5954 GB, free: 8.406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.762, allocations: 2.812 kB / 0.5954 GB, free: 8.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008575/0.7629, allocations: 499.5 kB / 0.5959 GB, free: 8.238 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.7629, allocations: 9.641 kB / 0.5959 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.763, allocations: 5.031 kB / 0.5959 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.763, allocations: 8.406 kB / 0.5959 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.7636, allocations: 115.8 kB / 0.596 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007541/0.7644, allocations: 1.195 MB / 0.5972 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006244/0.765, allocations: 70.98 kB / 0.5973 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.7651, allocations: 25.89 kB / 0.5973 GB, free: 6.973 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.0005571/0.7656, allocations: 382.5 kB / 0.5976 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.7658, allocations: 127.4 kB / 0.5978 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004421/0.7663, allocations: 287.3 kB / 0.598 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.7663, allocations: 2.281 kB / 0.598 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7663, allocations: 3.938 kB / 0.598 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.7663, allocations: 0 / 0.598 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008887/0.7672, allocations: 0.6835 MB / 0.5987 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.7672, allocations: 0 / 0.5987 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.7675, allocations: 44.31 kB / 0.5988 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.7675, allocations: 3.984 kB / 0.5988 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.7675, allocations: 6.219 kB / 0.5988 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006497/0.7682, allocations: 1.188 MB / 0.5999 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7682, allocations: 0 / 0.5999 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004838/0.7687, allocations: 407.1 kB / 0.6003 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.7692, allocations: 257.2 kB / 0.6006 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.7693, allocations: 6.328 kB / 0.6006 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.7698, allocations: 20.36 kB / 0.6006 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.7698, allocations: 10.88 kB / 0.6006 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.7699, allocations: 19.53 kB / 0.6006 GB, free: 4.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001658/0.7715, allocations: 1.374 MB / 0.602 GB, free: 4.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7715, allocations: 64 / 0.602 GB, free: 4.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009799/0.7725, allocations: 248.3 kB / 0.6022 GB, free: 4.281 MB / 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.002276/0.7748, allocations: 1.335 MB / 0.6035 GB, free: 3.281 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007449/0.7756, allocations: 252.5 kB / 0.6037 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.7756, allocations: 3.688 kB / 0.6037 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.7758, allocations: 75.19 kB / 0.6038 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.7778, allocations: 356.5 kB / 0.6042 GB, free: 3.094 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/0.7916, allocations: 10.6 MB / 0.6145 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/0.7925, allocations: 1.126 MB / 0.6156 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001007/0.7935, allocations: 224.5 kB / 0.6158 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004998/0.794, allocations: 404 kB / 0.6162 GB, free: 11.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.184e-06/0.794, allocations: 0 / 0.6162 GB, free: 11.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06111/0.8551, allocations: 27.81 MB / 0.6434 GB, free: 15.3 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/0.8555, allocations: 266.8 kB / 0.6436 GB, free: 14.95 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.225/4.081, allocations: 0 / 0.6436 GB, free: 14.95 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: