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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 120.8 kB / 20.33 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 218.8 kB / 23.61 MB, free: 4.93 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.463/1.463, allocations: 207.6 MB / 234.3 MB, free: 9.973 MB / 190.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.3022/0.3022, allocations: 49.56 MB / 336.1 MB, free: 4.23 MB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002416/0.002416, allocations: 67.91 kB / 476 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1225, allocations: 62.43 MB / 0.5258 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4348/0.5573, allocations: 169 MB / 0.6908 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005625/0.5629, allocations: 3.919 MB / 0.6947 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004565/0.5633, allocations: 7.938 kB / 0.6947 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008972/0.5642, allocations: 282.3 kB / 0.695 GB, free: 8.898 MB / 0.5294 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.001148/0.5654, allocations: 0.5917 MB / 0.6955 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004116/0.5695, allocations: 1.663 MB / 0.6972 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001711/0.5712, allocations: 1.344 MB / 0.6985 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005512/0.5718, allocations: 361.7 kB / 0.6988 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008715/0.5726, allocations: 0.5334 MB / 0.6993 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007217/0.5734, allocations: 0.5567 MB / 0.6999 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.5735, allocations: 67.88 kB / 0.6999 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.5761, allocations: 1.267 MB / 0.7012 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004642/0.5765, allocations: 474.7 kB / 0.7016 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006189/0.5772, allocations: 0.5438 MB / 0.7022 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.5802, allocations: 1.929 MB / 0.704 GB, free: 15.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5802, allocations: 0 / 0.704 GB, free: 15.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5802, allocations: 0 / 0.704 GB, free: 15.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.5802, allocations: 0 / 0.704 GB, free: 15.56 MB / 0.545 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.002523/0.5827, allocations: 1.534 MB / 0.7055 GB, free: 13.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.5828, allocations: 8.031 kB / 0.7056 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.5829, allocations: 98.45 kB / 0.7056 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007682/0.5837, allocations: 187.1 kB / 0.7058 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.5851, allocations: 0.8099 MB / 0.7066 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.5851, allocations: 41.3 kB / 0.7067 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.5852, allocations: 48 kB / 0.7067 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.5866, allocations: 1.039 MB / 0.7077 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.5866, allocations: 3.938 kB / 0.7077 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.009e-05/0.5866, allocations: 27.94 kB / 0.7077 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.5867, allocations: 16 kB / 0.7078 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007444/0.5874, allocations: 473 kB / 0.7082 GB, free: 11.09 MB / 0.545 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.004346/0.5917, allocations: 2.284 MB / 0.7104 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.592, allocations: 130.6 kB / 0.7106 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.696e-05/0.5921, allocations: 48.84 kB / 0.7106 GB, free: 8.516 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.5924, allocations: 47.95 kB / 0.7107 GB, free: 8.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.5924, allocations: 38.56 kB / 0.7107 GB, free: 8.422 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.244e-06/0.5924, allocations: 3.938 kB / 0.7107 GB, free: 8.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005853/0.593, allocations: 285.2 kB / 0.711 GB, free: 8.133 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.593, allocations: 59.41 kB / 0.711 GB, free: 8.062 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.5955, allocations: 1.927 MB / 0.7129 GB, free: 6.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.5955, allocations: 33.7 kB / 0.7129 GB, free: 6.078 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005802/0.5961, allocations: 0.5952 MB / 0.7135 GB, free: 5.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.5962, allocations: 51.58 kB / 0.7136 GB, free: 5.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.5963, allocations: 77.64 kB / 0.7136 GB, free: 5.348 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.5965, allocations: 322 kB / 0.714 GB, free: 5.027 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.5967, allocations: 130.1 kB / 0.7141 GB, free: 4.895 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.597, allocations: 255.1 kB / 0.7143 GB, free: 4.582 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.5974, allocations: 341.7 kB / 0.7146 GB, free: 4.184 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.5974, allocations: 4.812 kB / 0.7147 GB, free: 4.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008639/0.5983, allocations: 0.4964 MB / 0.7151 GB, free: 3.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.5983, allocations: 8 kB / 0.7151 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5983, allocations: 4 kB / 0.7151 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.5984, allocations: 11.88 kB / 0.7152 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.5989, allocations: 110 kB / 0.7153 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008243/0.5997, allocations: 1.196 MB / 0.7164 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.6003, allocations: 80.39 kB / 0.7165 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.6003, allocations: 16 kB / 0.7165 GB, free: 2.211 MB / 0.545 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.0005282/0.6008, allocations: 381.8 kB / 0.7169 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.601, allocations: 127.2 kB / 0.717 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.6015, allocations: 281 kB / 0.7173 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6015, allocations: 0 / 0.7173 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6015, allocations: 1.438 kB / 0.7173 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.6015, allocations: 3.938 kB / 0.7173 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009227/0.6024, allocations: 0.6595 MB / 0.7179 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.6024, allocations: 0 / 0.7179 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.6027, allocations: 48.77 kB / 0.718 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6027, allocations: 0 / 0.718 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.6027, allocations: 8 kB / 0.718 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007467/0.6034, allocations: 1.184 MB / 0.7191 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6034, allocations: 0 / 0.7191 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005471/0.604, allocations: 421.2 kB / 0.7195 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.6043, allocations: 178 kB / 0.7197 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.6044, allocations: 0 / 0.7197 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.6048, allocations: 23.97 kB / 0.7197 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.6049, allocations: 7.984 kB / 0.7197 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.6049, allocations: 15.98 kB / 0.7198 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001793/0.6067, allocations: 1.37 MB / 0.7211 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6067, allocations: 0 / 0.7211 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008075/0.6075, allocations: 247.6 kB / 0.7213 GB, free: 13.16 MB / 0.5606 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.002588/0.6101, allocations: 1.394 MB / 0.7227 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006154/0.6107, allocations: 231.7 kB / 0.7229 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6107, allocations: 7.938 kB / 0.7229 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.6109, allocations: 67.89 kB / 0.723 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.6125, allocations: 353.4 kB / 0.7233 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/0.6271, allocations: 10.75 MB / 0.7338 GB, free: 108 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.6278, allocations: 0.5095 MB / 0.7343 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007074/0.6285, allocations: 224.6 kB / 0.7345 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.629, allocations: 403.3 kB / 0.7349 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of SimCode: time 1.623e-06/0.629, allocations: 0 / 0.7349 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07473/0.7038, allocations: 29.95 MB / 0.7642 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.19, allocations: 3.859 kB / 0.7642 GB, free: 0.8242 MB / 0.5919 GB " [Timeout remaining time 644] (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.4882670333609] Failed to read output from testmodel.py, exit status != 0: 15.596972528845072 15.611062685 15.02758765 Calling exit ...