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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 207.6 MB / 231.1 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4622/0.4622, allocations: 49.51 MB / 332.5 MB, free: 0.7266 MB / 254.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "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.002338/0.002338, allocations: 72.08 kB / 470.8 MB, free: 41.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.1008, allocations: 62.34 MB / 0.5206 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.5046/0.6054, allocations: 171.2 MB / 0.6878 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00489/0.6102, allocations: 3.92 MB / 0.6916 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005336/0.6108, allocations: 7.375 kB / 0.6916 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008667/0.6116, allocations: 284 kB / 0.6919 GB, free: 13.85 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001131/0.6128, allocations: 0.5748 MB / 0.6924 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004095/0.6169, allocations: 1.654 MB / 0.694 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.6185, allocations: 1.313 MB / 0.6953 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004964/0.619, allocations: 365.9 kB / 0.6957 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006964/0.6197, allocations: 0.5232 MB / 0.6962 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005853/0.6203, allocations: 0.5639 MB / 0.6967 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.772e-05/0.6204, allocations: 55.78 kB / 0.6968 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.6232, allocations: 1.491 MB / 0.6982 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003572/0.6235, allocations: 477 kB / 0.6987 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004948/0.624, allocations: 0.5486 MB / 0.6992 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.6267, allocations: 1.939 MB / 0.7011 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6267, allocations: 2.875 kB / 0.7011 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6267, allocations: 4 kB / 0.7011 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.6267, allocations: 0 / 0.7011 GB, free: 12.29 MB / 0.5137 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.00245/0.6291, allocations: 1.597 MB / 0.7027 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.6292, allocations: 13.77 kB / 0.7027 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.6293, allocations: 104.9 kB / 0.7028 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007336/0.63, allocations: 185.8 kB / 0.703 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.6314, allocations: 0.8759 MB / 0.7038 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.6314, allocations: 34.91 kB / 0.7039 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/0.6315, allocations: 53.97 kB / 0.7039 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009103/0.6324, allocations: 0.6096 MB / 0.7045 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.6324, allocations: 2.781 kB / 0.7045 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-05/0.6325, allocations: 25.91 kB / 0.7045 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.6325, allocations: 16.56 kB / 0.7046 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/0.6331, allocations: 484 kB / 0.705 GB, free: 10.3 MB / 0.5137 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.00418/0.6373, allocations: 2.592 MB / 0.7076 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.6375, allocations: 124.4 kB / 0.7077 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.82e-05/0.6376, allocations: 49.34 kB / 0.7077 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.6378, allocations: 122.8 kB / 0.7078 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.6379, allocations: 40.47 kB / 0.7079 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.6379, allocations: 0 / 0.7079 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.0004952/0.6384, allocations: 289.8 kB / 0.7081 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.6384, allocations: 54.97 kB / 0.7082 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.6404, allocations: 1.927 MB / 0.7101 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.6404, allocations: 28.7 kB / 0.7101 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004541/0.6409, allocations: 0.5998 MB / 0.7107 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.6409, allocations: 46.19 kB / 0.7107 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.641, allocations: 86.08 kB / 0.7108 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.6412, allocations: 319.6 kB / 0.7111 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.6414, allocations: 132.2 kB / 0.7113 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.6416, allocations: 244.7 kB / 0.7115 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004045/0.642, allocations: 335.1 kB / 0.7118 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6421, allocations: 4 kB / 0.7118 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000712/0.6428, allocations: 0.4899 MB / 0.7123 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6428, allocations: 7.844 kB / 0.7123 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6428, allocations: 9.375 kB / 0.7123 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.6428, allocations: 15.64 kB / 0.7123 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.6433, allocations: 108.8 kB / 0.7124 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007634/0.644, allocations: 1.191 MB / 0.7136 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.6445, allocations: 82.3 kB / 0.7137 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.6446, allocations: 25.14 kB / 0.7137 GB, free: 5.402 MB / 0.5137 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004282/0.645, allocations: 378.4 kB / 0.714 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.6452, allocations: 125.9 kB / 0.7142 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.6456, allocations: 269.1 kB / 0.7144 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.6456, allocations: 2.031 kB / 0.7144 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6456, allocations: 0 / 0.7144 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.6456, allocations: 19.14 kB / 0.7144 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000769/0.6464, allocations: 0.6859 MB / 0.7151 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6464, allocations: 0 / 0.7151 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.6466, allocations: 52.98 kB / 0.7152 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.6466, allocations: 2.5 kB / 0.7152 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.6466, allocations: 0 / 0.7152 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007149/0.6473, allocations: 1.19 MB / 0.7163 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6473, allocations: 0 / 0.7163 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.6478, allocations: 414.2 kB / 0.7167 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/0.6483, allocations: 251.9 kB / 0.717 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.6484, allocations: 3.688 kB / 0.717 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.6488, allocations: 21.52 kB / 0.717 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.6488, allocations: 8.984 kB / 0.717 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.6489, allocations: 16.52 kB / 0.717 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001608/0.6505, allocations: 1.376 MB / 0.7184 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6505, allocations: 0 / 0.7184 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007592/0.6512, allocations: 243.7 kB / 0.7186 GB, free: 2.414 MB / 0.5137 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002565/0.6538, allocations: 1.401 MB / 0.72 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005517/0.6544, allocations: 220.8 kB / 0.7202 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6544, allocations: 6.844 kB / 0.7202 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.6545, allocations: 73.33 kB / 0.7202 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.6561, allocations: 366.5 kB / 0.7206 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.6697, allocations: 10.73 MB / 0.7311 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008318/0.6705, allocations: 1.098 MB / 0.7321 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006712/0.6712, allocations: 224.5 kB / 0.7324 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005155/0.6717, allocations: 407.3 kB / 0.7327 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/0.6717, allocations: 4 kB / 0.7328 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06942/0.7411, allocations: 29.68 MB / 0.7617 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.11, allocations: 0 / 0.7617 GB, free: 9.957 MB / 0.5606 GB " [Timeout remaining time 645] (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/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.325134166050702] Failed to read output from testmodel.py, exit status != 0: 15.281190477311611 15.300380242 14.670557381 Calling exit ...