Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.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.001813/0.001813, allocations: 120.5 kB / 17.79 MB, free: 5.344 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.002241/0.002241, allocations: 215.3 kB / 20.75 MB, free: 2.387 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.49/1.49, allocations: 207.6 MB / 231.1 MB, free: 4.07 MB / 174.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.4711/0.4711, allocations: 49.52 MB / 332.5 MB, free: 0.793 MB / 254.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.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.GasComponents.TestCompressorInertia,fileNamePrefix="ThermoPower_ThermoPower_Test_GasComponents_TestCompressorInertia",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.002335/0.002335, allocations: 68.72 kB / 470.8 MB, free: 41.08 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1321, allocations: 62.34 MB / 0.5206 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.5414/0.6735, allocations: 171.2 MB / 0.6878 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005448/0.6789, allocations: 3.918 MB / 0.6916 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005793/0.6795, allocations: 11.69 kB / 0.6917 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008869/0.6804, allocations: 278.1 kB / 0.6919 GB, free: 13.84 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.001591/0.682, allocations: 0.5775 MB / 0.6925 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00415/0.6861, allocations: 1.643 MB / 0.6941 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001556/0.6877, allocations: 1.336 MB / 0.6954 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.6881, allocations: 373.4 kB / 0.6958 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006488/0.6888, allocations: 0.5376 MB / 0.6963 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.6894, allocations: 0.5615 MB / 0.6968 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.527e-05/0.6895, allocations: 58.78 kB / 0.6969 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.6913, allocations: 0.7192 MB / 0.6976 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.6917, allocations: 486.6 kB / 0.698 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.6922, allocations: 0.5507 MB / 0.6986 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.6939, allocations: 1.578 MB / 0.7001 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6939, allocations: 0 / 0.7001 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6939, allocations: 0 / 0.7001 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.6939, allocations: 0 / 0.7001 GB, free: 12.57 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002708/0.6966, allocations: 1.539 MB / 0.7016 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.6966, allocations: 13.61 kB / 0.7016 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.6968, allocations: 100.6 kB / 0.7017 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006774/0.6974, allocations: 187.5 kB / 0.7019 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.699, allocations: 0.875 MB / 0.7028 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.6991, allocations: 42.72 kB / 0.7028 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.18e-05/0.6991, allocations: 49.88 kB / 0.7029 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009146/0.7001, allocations: 0.6309 MB / 0.7035 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.7001, allocations: 0 / 0.7035 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.7001, allocations: 29.19 kB / 0.7035 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.7002, allocations: 12.31 kB / 0.7035 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006691/0.7008, allocations: 0.49 MB / 0.704 GB, free: 10.62 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.004641/0.7055, allocations: 2.559 MB / 0.7065 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.7058, allocations: 186.2 kB / 0.7067 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.7059, allocations: 79.7 kB / 0.7067 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.7062, allocations: 109.5 kB / 0.7069 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.7062, allocations: 40.22 kB / 0.7069 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.7062, allocations: 6.688 kB / 0.7069 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20): time 0.0006787/0.7069, allocations: 366.2 kB / 0.7072 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.707, allocations: 57.73 kB / 0.7073 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/0.7094, allocations: 1.906 MB / 0.7092 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.7094, allocations: 32.61 kB / 0.7092 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.7099, allocations: 0.578 MB / 0.7098 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.71, allocations: 72 kB / 0.7098 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.7101, allocations: 82.73 kB / 0.7099 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.7102, allocations: 323.2 kB / 0.7102 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.7104, allocations: 140.2 kB / 0.7103 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.7107, allocations: 233.3 kB / 0.7106 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004764/0.7112, allocations: 333.9 kB / 0.7109 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.7112, allocations: 0 / 0.7109 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001135/0.7123, allocations: 0.5145 MB / 0.7114 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.7124, allocations: 5.312 kB / 0.7114 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.7124, allocations: 10.56 kB / 0.7114 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.7124, allocations: 4.344 kB / 0.7114 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.7129, allocations: 116.9 kB / 0.7115 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.714, allocations: 1.797 MB / 0.7133 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.7145, allocations: 68.62 kB / 0.7133 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/0.7145, allocations: 29.27 kB / 0.7134 GB, free: 5.25 MB / 0.5137 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Absolute rotation angle of component\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000452/0.715, allocations: 378.3 kB / 0.7137 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.7152, allocations: 131.7 kB / 0.7139 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.7163, allocations: 351.8 kB / 0.7142 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.7163, allocations: 0 / 0.7142 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7163, allocations: 2.781 kB / 0.7142 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7163, allocations: 0 / 0.7142 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008273/0.7172, allocations: 0.7134 MB / 0.7149 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7172, allocations: 0 / 0.7149 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.7175, allocations: 68.8 kB / 0.715 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.7175, allocations: 2.625 kB / 0.715 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.7175, allocations: 5.875 kB / 0.715 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.7186, allocations: 1.787 MB / 0.7167 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7186, allocations: 7.875 kB / 0.7167 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.7192, allocations: 493.4 kB / 0.7172 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.7196, allocations: 256.4 kB / 0.7174 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/0.7199, allocations: 11 kB / 0.7174 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/0.7205, allocations: 21.8 kB / 0.7175 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.7205, allocations: 15.47 kB / 0.7175 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.7206, allocations: 17.3 kB / 0.7175 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001569/0.7221, allocations: 1.362 MB / 0.7188 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.7221, allocations: 0 / 0.7188 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007497/0.7229, allocations: 235.5 kB / 0.719 GB, free: 1.637 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * 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 (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002973/0.7259, allocations: 1.434 MB / 0.7204 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000644/0.7265, allocations: 271.2 kB / 0.7207 GB, free: 404 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7265, allocations: 0 / 0.7207 GB, free: 404 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.7268, allocations: 110.9 kB / 0.7208 GB, free: 360 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.7289, allocations: 393.3 kB / 0.7212 GB, free: 136 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.7431, allocations: 10.85 MB / 0.7318 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008191/0.7439, allocations: 1.106 MB / 0.7329 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006582/0.7446, allocations: 232.6 kB / 0.7331 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005465/0.7451, allocations: 403.3 kB / 0.7335 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of SimCode: time 2.515e-06/0.7451, allocations: 0 / 0.7335 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08416/0.8293, allocations: 30 MB / 0.7628 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.91, allocations: 11.84 kB / 0.7628 GB, free: 8.867 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia_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_TestCompressorInertia.fmu > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.21327026200015] Failed to read output from testmodel.py, exit status != 0: 15.066667452003458 15.087745053 14.38952238 Calling exit ...