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.001273/0.001273, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.00143/0.00143, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.378/1.378, allocations: 207.6 MB / 234.5 MB, free: 10.01 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.2958/0.2958, allocations: 49.57 MB / 336.3 MB, free: 4.113 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.002217/0.002217, allocations: 64.47 kB / 476.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1122, 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.4273/0.5395, allocations: 171.3 MB / 0.6934 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006415/0.5459, allocations: 3.938 MB / 0.6973 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000519/0.5464, allocations: 15.94 kB / 0.6973 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.5475, allocations: 278.2 kB / 0.6976 GB, free: 6.535 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.00148/0.549, allocations: 0.5803 MB / 0.6981 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004529/0.5535, allocations: 1.669 MB / 0.6998 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002106/0.5556, allocations: 1.34 MB / 0.7011 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007369/0.5564, allocations: 369.7 kB / 0.7014 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009855/0.5573, allocations: 0.537 MB / 0.7019 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000915/0.5583, allocations: 0.5606 MB / 0.7025 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.5584, allocations: 56 kB / 0.7025 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/0.5618, allocations: 1.508 MB / 0.704 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006231/0.5625, allocations: 474.7 kB / 0.7045 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007562/0.5632, allocations: 0.5477 MB / 0.705 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.5665, allocations: 1.943 MB / 0.7069 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5665, allocations: 0 / 0.7069 GB, free: 12.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5665, allocations: 0 / 0.7069 GB, free: 12.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.795e-05/0.5665, allocations: 0 / 0.7069 GB, free: 12.94 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.002956/0.5695, allocations: 1.526 MB / 0.7084 GB, free: 11.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.5695, allocations: 8.031 kB / 0.7084 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.5697, allocations: 98.45 kB / 0.7085 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000888/0.5706, allocations: 187.1 kB / 0.7087 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.5722, allocations: 0.8138 MB / 0.7095 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.5722, allocations: 37.31 kB / 0.7095 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-05/0.5723, allocations: 48 kB / 0.7096 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.5734, allocations: 0.6081 MB / 0.7101 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.5735, allocations: 15.88 kB / 0.7102 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/0.5735, allocations: 23.94 kB / 0.7102 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.5736, allocations: 12.69 kB / 0.7102 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008284/0.5744, allocations: 473 kB / 0.7106 GB, free: 9.008 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.005246/0.5796, allocations: 2.3 MB / 0.7129 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.5799, allocations: 130.6 kB / 0.713 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.58, allocations: 48.03 kB / 0.7131 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.5803, allocations: 51.95 kB / 0.7131 GB, free: 6.375 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.5804, allocations: 38.56 kB / 0.7131 GB, free: 6.328 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.5804, allocations: 7.875 kB / 0.7132 GB, free: 6.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0006443/0.581, allocations: 285.2 kB / 0.7134 GB, free: 6.035 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.581, allocations: 51.41 kB / 0.7135 GB, free: 5.973 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/0.5837, allocations: 1.931 MB / 0.7154 GB, free: 4.023 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/0.5837, allocations: 29.7 kB / 0.7154 GB, free: 3.988 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005968/0.5843, allocations: 0.603 MB / 0.716 GB, free: 3.383 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.5844, allocations: 51.58 kB / 0.716 GB, free: 3.332 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.5846, allocations: 77.64 kB / 0.7161 GB, free: 3.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5847, allocations: 322 kB / 0.7164 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.5849, allocations: 126.1 kB / 0.7165 GB, free: 2.801 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.5853, allocations: 255.1 kB / 0.7168 GB, free: 2.488 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/0.5858, allocations: 341.7 kB / 0.7171 GB, free: 2.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.5858, allocations: 7.938 kB / 0.7171 GB, free: 2.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009602/0.5867, allocations: 0.4889 MB / 0.7176 GB, free: 1.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.5868, allocations: 8 kB / 0.7176 GB, free: 1.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5868, allocations: 4 kB / 0.7176 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.5868, allocations: 11.94 kB / 0.7176 GB, free: 1.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.5874, allocations: 103.9 kB / 0.7177 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008055/0.5882, allocations: 1.203 MB / 0.7189 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006663/0.5888, allocations: 75.39 kB / 0.719 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.5889, allocations: 20 kB / 0.719 GB, free: 120 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.0006759/0.5896, allocations: 373.6 kB / 0.7193 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.5898, allocations: 127.2 kB / 0.7195 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005494/0.5904, allocations: 282.8 kB / 0.7197 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.5904, allocations: 0 / 0.7197 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5904, allocations: 6.938 kB / 0.7197 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.5904, allocations: 7.938 kB / 0.7197 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.5915, allocations: 0.6595 MB / 0.7204 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5915, allocations: 0 / 0.7204 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.5918, allocations: 43.97 kB / 0.7204 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.5918, allocations: 7.984 kB / 0.7204 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.5918, allocations: 0 / 0.7204 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008079/0.5926, allocations: 1.191 MB / 0.7216 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5926, allocations: 0 / 0.7216 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006916/0.5933, allocations: 417 kB / 0.722 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.5937, allocations: 171.4 kB / 0.7222 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.5938, allocations: 12 kB / 0.7222 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.5943, allocations: 19.97 kB / 0.7222 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.5943, allocations: 7.984 kB / 0.7222 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.5944, allocations: 11.98 kB / 0.7222 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002038/0.5964, allocations: 1.374 MB / 0.7235 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5964, allocations: 0 / 0.7235 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001174/0.5976, allocations: 239.6 kB / 0.7238 GB, free: 11.07 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.002908/0.6005, allocations: 1.402 MB / 0.7251 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007114/0.6012, allocations: 232 kB / 0.7254 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6012, allocations: 0 / 0.7254 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.6014, allocations: 67.89 kB / 0.7254 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.6032, allocations: 357 kB / 0.7258 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/0.6194, allocations: 10.74 MB / 0.7363 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008543/0.6203, allocations: 1.114 MB / 0.7373 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007098/0.621, allocations: 228.5 kB / 0.7376 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.6216, allocations: 403.3 kB / 0.7379 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.6216, allocations: 0 / 0.7379 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2832/0.9048, allocations: 29.93 MB / 0.7672 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.81, allocations: 2.281 kB / 0.7672 GB, free: 204.6 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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ThermoPower_ThermoPower_Test_GasComponents_TestCompressorConstSpeed.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorConstSpeed.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.75586485399981] Failed to read output from testmodel.py, exit status != 0: 15.999100340999576 16.021172759 15.450485655 Calling exit ...