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.001591/0.001591, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001646/0.001646, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.612/1.612, allocations: 207.7 MB / 234.6 MB, free: 9.801 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.3574/0.3574, allocations: 49.6 MB / 336.4 MB, free: 3.898 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.002292/0.002292, allocations: 68.52 kB / 476.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1664, allocations: 62.43 MB / 0.5261 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorConstSpeed): time 0.5397/0.7061, allocations: 147.5 MB / 0.6702 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007851/0.714, allocations: 3.604 MB / 0.6737 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006548/0.7146, allocations: 11.94 kB / 0.6737 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.7158, allocations: 254.4 kB / 0.6739 GB, free: 13.89 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.001747/0.7175, allocations: 0.5872 MB / 0.6745 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005167/0.7227, allocations: 1.662 MB / 0.6761 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00225/0.7249, allocations: 1.329 MB / 0.6774 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007363/0.7257, allocations: 369.6 kB / 0.6778 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.7269, allocations: 0.5334 MB / 0.6783 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008834/0.7278, allocations: 0.5294 MB / 0.6788 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.7279, allocations: 56 kB / 0.6789 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.731, allocations: 1.235 MB / 0.6801 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005158/0.7315, allocations: 478.6 kB / 0.6805 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005723/0.7321, allocations: 449.6 kB / 0.681 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.7352, allocations: 1.922 MB / 0.6829 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7352, allocations: 0 / 0.6829 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7352, allocations: 0 / 0.6829 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.748e-05/0.7353, allocations: 0 / 0.6829 GB, free: 4.742 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.002861/0.7381, allocations: 1.523 MB / 0.6843 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.7382, allocations: 11.97 kB / 0.6843 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.7383, allocations: 98.45 kB / 0.6844 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.7391, allocations: 187.1 kB / 0.6846 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.7406, allocations: 0.8099 MB / 0.6854 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.7406, allocations: 41.31 kB / 0.6855 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.823e-05/0.7407, allocations: 48 kB / 0.6855 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.7421, allocations: 1.039 MB / 0.6865 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.7421, allocations: 0.5625 kB / 0.6865 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.663e-05/0.7422, allocations: 27.94 kB / 0.6865 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.7422, allocations: 12 kB / 0.6866 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008254/0.743, allocations: 476.9 kB / 0.687 GB, free: 284 kB / 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.004589/0.7476, allocations: 1.985 MB / 0.6889 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.7479, allocations: 127.8 kB / 0.6891 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.373e-05/0.748, allocations: 44.83 kB / 0.6891 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.7482, allocations: 47.97 kB / 0.6892 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.7483, allocations: 42.55 kB / 0.6892 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.7483, allocations: 0 / 0.6892 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005828/0.7489, allocations: 300.7 kB / 0.6895 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.7489, allocations: 55.41 kB / 0.6895 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/0.7514, allocations: 1.935 MB / 0.6914 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.7515, allocations: 33.7 kB / 0.6915 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006243/0.7521, allocations: 0.5914 MB / 0.692 GB, free: 11 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.7522, allocations: 51.56 kB / 0.6921 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.7523, allocations: 85.59 kB / 0.6922 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.7525, allocations: 318 kB / 0.6925 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.7527, allocations: 126.2 kB / 0.6926 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.7531, allocations: 251.2 kB / 0.6928 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.7536, allocations: 337.7 kB / 0.6932 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.7536, allocations: 0 / 0.6932 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008724/0.7545, allocations: 0.5003 MB / 0.6936 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.7545, allocations: 8 kB / 0.6936 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7545, allocations: 6.125 kB / 0.6937 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.7545, allocations: 11.94 kB / 0.6937 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.755, allocations: 111.8 kB / 0.6938 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008613/0.7559, allocations: 1.188 MB / 0.6949 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.7564, allocations: 79.39 kB / 0.695 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.7564, allocations: 23.98 kB / 0.695 GB, free: 7.738 MB / 0.5294 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.0005375/0.757, allocations: 381.4 kB / 0.6954 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.7572, allocations: 127.2 kB / 0.6955 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.7577, allocations: 272.9 kB / 0.6958 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.7577, allocations: 2.938 kB / 0.6958 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.7577, allocations: 0 / 0.6958 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.7577, allocations: 8.031 kB / 0.6958 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008594/0.7586, allocations: 0.566 MB / 0.6963 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7586, allocations: 3.938 kB / 0.6963 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.7588, allocations: 48.52 kB / 0.6964 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7588, allocations: 0 / 0.6964 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.7588, allocations: 4 kB / 0.6964 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007872/0.7596, allocations: 1.188 MB / 0.6976 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7596, allocations: 3.938 kB / 0.6976 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.7602, allocations: 417.3 kB / 0.698 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/0.7606, allocations: 175.2 kB / 0.6981 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.7607, allocations: 4 kB / 0.6981 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.7611, allocations: 16.08 kB / 0.6981 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.7611, allocations: 7.969 kB / 0.6981 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.7612, allocations: 20.86 kB / 0.6982 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001912/0.7631, allocations: 1.37 MB / 0.6995 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7631, allocations: 0 / 0.6995 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009142/0.764, allocations: 243.5 kB / 0.6997 GB, free: 2.785 MB / 0.5294 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.00291/0.7669, allocations: 1.413 MB / 0.7011 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007249/0.7676, allocations: 236.5 kB / 0.7013 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7676, allocations: 0 / 0.7013 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.7678, allocations: 72.16 kB / 0.7014 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.7697, allocations: 356.4 kB / 0.7018 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/0.786, allocations: 10.71 MB / 0.7122 GB, free: 5.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.7867, allocations: 0.5095 MB / 0.7127 GB, free: 5.211 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007386/0.7874, allocations: 216.7 kB / 0.7129 GB, free: 4.996 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005574/0.788, allocations: 403.3 kB / 0.7133 GB, free: 4.602 MB / 0.545 GB Notification: Performance of SimCode: time 1.322e-06/0.788, allocations: 0 / 0.7133 GB, free: 4.602 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07948/0.8675, allocations: 31.59 MB / 0.7441 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.47, allocations: 8.016 kB / 0.7442 GB, free: 4.801 MB / 0.5762 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 os._exit(0), Time elapsed: 18.972272275947034] Failed to read output from testmodel.py, exit status != 0: 15.662240133620799 15.677965093 14.939399396 Calling exit ...