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.001346/0.001346, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001544/0.001544, allocations: 212.9 kB / 23.74 MB, free: 4.535 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.371/1.371, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3025/0.3025, allocations: 49.58 MB / 336.3 MB, free: 4.098 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.00229/0.00229, allocations: 67.91 kB / 476.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1319, allocations: 62.43 MB / 0.5261 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.4566/0.5884, allocations: 171.3 MB / 0.6934 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006386/0.5948, allocations: 3.932 MB / 0.6973 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000584/0.5954, allocations: 15.88 kB / 0.6973 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.5965, allocations: 282.3 kB / 0.6976 GB, free: 6.531 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.001506/0.598, allocations: 0.5756 MB / 0.6981 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004652/0.6026, allocations: 1.674 MB / 0.6998 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.6047, allocations: 1.348 MB / 0.7011 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007914/0.6055, allocations: 357.8 kB / 0.7014 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.6066, allocations: 0.5372 MB / 0.7019 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.6077, allocations: 0.5567 MB / 0.7025 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.6079, allocations: 60 kB / 0.7025 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003341/0.6112, allocations: 1.508 MB / 0.704 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005567/0.6118, allocations: 482.6 kB / 0.7045 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008687/0.6126, allocations: 0.5399 MB / 0.705 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.6162, allocations: 1.949 MB / 0.7069 GB, free: 12.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6162, allocations: 0 / 0.7069 GB, free: 12.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6162, allocations: 0 / 0.7069 GB, free: 12.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.075e-05/0.6163, allocations: 0 / 0.7069 GB, free: 12.93 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.003149/0.6194, allocations: 1.527 MB / 0.7084 GB, free: 11.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.6195, allocations: 8.031 kB / 0.7084 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.6196, allocations: 102.5 kB / 0.7085 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008467/0.6205, allocations: 189.2 kB / 0.7087 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.622, allocations: 0.8099 MB / 0.7095 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.622, allocations: 41.31 kB / 0.7095 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.895e-05/0.6221, allocations: 52 kB / 0.7096 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.6232, allocations: 0.6081 MB / 0.7102 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.6232, allocations: 0 / 0.7102 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.589e-05/0.6233, allocations: 27.94 kB / 0.7102 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.6233, allocations: 12 kB / 0.7102 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007726/0.6241, allocations: 480.9 kB / 0.7107 GB, free: 8.996 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.004651/0.6287, allocations: 2.292 MB / 0.7129 GB, free: 6.605 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.629, allocations: 134.6 kB / 0.713 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.067e-05/0.6291, allocations: 48.84 kB / 0.7131 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/0.6293, allocations: 51.94 kB / 0.7131 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.6294, allocations: 38.56 kB / 0.7132 GB, free: 6.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.6294, allocations: 0 / 0.7132 GB, free: 6.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0006362/0.63, allocations: 288.7 kB / 0.7134 GB, free: 6.027 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.63, allocations: 59.34 kB / 0.7135 GB, free: 5.957 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/0.6326, allocations: 1.927 MB / 0.7154 GB, free: 4.012 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.6327, allocations: 29.7 kB / 0.7154 GB, free: 3.977 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/0.6332, allocations: 0.5992 MB / 0.716 GB, free: 3.375 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/0.6333, allocations: 51.58 kB / 0.716 GB, free: 3.324 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.6334, allocations: 77.64 kB / 0.7161 GB, free: 3.242 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.6336, allocations: 322 kB / 0.7164 GB, free: 2.922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.6338, allocations: 130.1 kB / 0.7165 GB, free: 2.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.6341, allocations: 247.2 kB / 0.7168 GB, free: 2.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.6345, allocations: 341.6 kB / 0.7171 GB, free: 2.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.6345, allocations: 0 / 0.7171 GB, free: 2.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009041/0.6354, allocations: 0.502 MB / 0.7176 GB, free: 1.578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.6355, allocations: 4 kB / 0.7176 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.6355, allocations: 13.78 kB / 0.7176 GB, free: 1.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.6355, allocations: 7.938 kB / 0.7176 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.636, allocations: 111.8 kB / 0.7177 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008297/0.6368, allocations: 1.194 MB / 0.7189 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/0.6374, allocations: 79.39 kB / 0.719 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.6374, allocations: 19.98 kB / 0.719 GB, free: 112 kB / 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.0005821/0.638, allocations: 377.5 kB / 0.7193 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.6382, allocations: 123.2 kB / 0.7195 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/0.6387, allocations: 281.5 kB / 0.7197 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.6387, allocations: 4 kB / 0.7197 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6387, allocations: 0 / 0.7197 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6387, allocations: 3.938 kB / 0.7197 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009628/0.6397, allocations: 0.6594 MB / 0.7204 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6397, allocations: 0 / 0.7204 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.64, allocations: 52.77 kB / 0.7204 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.64, allocations: 0 / 0.7204 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.64, allocations: 8 kB / 0.7204 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007403/0.6407, allocations: 1.18 MB / 0.7216 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6407, allocations: 4.031 kB / 0.7216 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.6413, allocations: 413 kB / 0.722 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/0.6417, allocations: 179.4 kB / 0.7222 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.6418, allocations: 11.88 kB / 0.7222 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.6423, allocations: 19.98 kB / 0.7222 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.6423, allocations: 7.984 kB / 0.7222 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.6424, allocations: 15.98 kB / 0.7222 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001839/0.6442, allocations: 1.374 MB / 0.7235 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6442, allocations: 0 / 0.7235 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008429/0.645, allocations: 239.6 kB / 0.7238 GB, free: 11.06 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.002651/0.6477, allocations: 1.392 MB / 0.7251 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000642/0.6483, allocations: 240 kB / 0.7254 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6483, allocations: 0 / 0.7254 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.6485, allocations: 67.91 kB / 0.7254 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.6502, allocations: 373 kB / 0.7258 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.6662, allocations: 10.72 MB / 0.7363 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009468/0.6671, allocations: 1.102 MB / 0.7373 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000703/0.6679, allocations: 236.6 kB / 0.7376 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00058/0.6684, allocations: 403.3 kB / 0.7379 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.6684, allocations: 0 / 0.7379 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2991/0.9675, allocations: 29.93 MB / 0.7672 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.45, allocations: 4.969 kB / 0.7672 GB, free: 204.5 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.402275233063847] Failed to read output from testmodel.py, exit status != 0: 15.628101309062913 15.643224152 15.023727558 Calling exit ...