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.001355/0.001355, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001442/0.001442, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.434/1.434, allocations: 207.6 MB / 235.3 MB, free: 9.996 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.3195/0.3195, allocations: 49.56 MB / 337.1 MB, free: 4.105 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: translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia") [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.002258/0.002258, allocations: 79.88 kB / 477.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1245, allocations: 62.41 MB / 0.5273 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4684/0.5929, allocations: 171.3 MB / 0.6947 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006272/0.5992, allocations: 3.944 MB / 0.6985 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005891/0.5998, allocations: 11.88 kB / 0.6985 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009906/0.6008, allocations: 278.3 kB / 0.6988 GB, free: 6.211 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.001238/0.602, allocations: 0.5872 MB / 0.6994 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0047/0.6067, allocations: 1.675 MB / 0.701 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002109/0.6088, allocations: 1.344 MB / 0.7023 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006352/0.6095, allocations: 373.7 kB / 0.7027 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009156/0.6104, allocations: 0.5334 MB / 0.7032 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008533/0.6112, allocations: 0.5762 MB / 0.7038 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.6113, allocations: 60 kB / 0.7038 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.6131, allocations: 0.7171 MB / 0.7045 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000483/0.6136, allocations: 486.6 kB / 0.705 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005543/0.6141, allocations: 0.536 MB / 0.7055 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.6162, allocations: 1.568 MB / 0.707 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6162, allocations: 4 kB / 0.707 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6162, allocations: 0 / 0.707 GB, free: 13.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.6162, allocations: 3.938 kB / 0.707 GB, free: 13.74 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002446/0.6186, allocations: 1.441 MB / 0.7085 GB, free: 12.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.6187, allocations: 12.03 kB / 0.7085 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007404/0.6194, allocations: 191 kB / 0.7086 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.6209, allocations: 0.7862 MB / 0.7094 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.621, allocations: 37.31 kB / 0.7094 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.863e-05/0.6211, allocations: 55.98 kB / 0.7095 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6221, allocations: 0.6315 MB / 0.7101 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.6222, allocations: 4 kB / 0.7101 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.6222, allocations: 23.94 kB / 0.7101 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.6222, allocations: 12 kB / 0.7102 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/0.623, allocations: 0.4902 MB / 0.7106 GB, free: 9.973 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.004488/0.6275, allocations: 2.33 MB / 0.7129 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.6278, allocations: 190.5 kB / 0.7131 GB, free: 7.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.628, allocations: 77.16 kB / 0.7132 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/0.6282, allocations: 35.91 kB / 0.7132 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.6283, allocations: 42.56 kB / 0.7132 GB, free: 7.176 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.6283, allocations: 0 / 0.7132 GB, free: 7.176 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.0007415/0.629, allocations: 360.7 kB / 0.7136 GB, free: 6.816 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.629, allocations: 55.41 kB / 0.7136 GB, free: 6.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/0.6315, allocations: 1.882 MB / 0.7155 GB, free: 4.848 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.6315, allocations: 29.7 kB / 0.7155 GB, free: 4.812 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/0.632, allocations: 0.5759 MB / 0.7161 GB, free: 4.234 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.492e-05/0.6321, allocations: 75.38 kB / 0.7161 GB, free: 4.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.6322, allocations: 82.02 kB / 0.7162 GB, free: 4.074 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6324, allocations: 325.9 kB / 0.7165 GB, free: 3.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.6327, allocations: 138.6 kB / 0.7167 GB, free: 3.609 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.633, allocations: 230.5 kB / 0.7169 GB, free: 3.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.6335, allocations: 347.3 kB / 0.7172 GB, free: 2.953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6335, allocations: 0 / 0.7172 GB, free: 2.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000861/0.6343, allocations: 0.4969 MB / 0.7177 GB, free: 2.449 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.6343, allocations: 16.02 kB / 0.7177 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6344, allocations: 4 kB / 0.7177 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.6344, allocations: 4 kB / 0.7177 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/0.635, allocations: 119.8 kB / 0.7178 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.6362, allocations: 1.785 MB / 0.7196 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004777/0.6367, allocations: 79.39 kB / 0.7197 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/0.6367, allocations: 25.05 kB / 0.7197 GB, free: 360 kB / 0.545 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.0005731/0.6373, allocations: 374.1 kB / 0.72 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.6375, allocations: 135.3 kB / 0.7202 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005598/0.6381, allocations: 335.4 kB / 0.7205 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.6381, allocations: 0 / 0.7205 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6381, allocations: 3.984 kB / 0.7205 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6381, allocations: 4 kB / 0.7205 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009432/0.6391, allocations: 0.6815 MB / 0.7212 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6391, allocations: 0 / 0.7212 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.6394, allocations: 75.89 kB / 0.7212 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6394, allocations: 0 / 0.7212 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.6394, allocations: 8 kB / 0.7212 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.6406, allocations: 1.782 MB / 0.723 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6406, allocations: 4.062 kB / 0.723 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006915/0.6413, allocations: 496.8 kB / 0.7235 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/0.6417, allocations: 163.2 kB / 0.7236 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.6418, allocations: 8 kB / 0.7236 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.6422, allocations: 15.98 kB / 0.7236 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.6423, allocations: 15.91 kB / 0.7236 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.6423, allocations: 19.98 kB / 0.7237 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001808/0.6441, allocations: 1.35 MB / 0.725 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6441, allocations: 0 / 0.725 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007696/0.6449, allocations: 243.6 kB / 0.7252 GB, free: 10.53 MB / 0.5606 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.001827/0.6467, allocations: 0.5072 MB / 0.7257 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000786/0.6475, allocations: 269.5 kB / 0.726 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.6475, allocations: 0 / 0.726 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.6478, allocations: 111.9 kB / 0.7261 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.6494, allocations: 380.5 kB / 0.7264 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.6528, allocations: 2.119 MB / 0.7285 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008665/0.6536, allocations: 1.106 MB / 0.7296 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.6538, allocations: 83.42 kB / 0.7297 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.6538, allocations: 0 / 0.7297 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of Templates: time 0.04347/0.6973, allocations: 27.11 MB / 0.7561 GB, free: 10.74 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.654190205037594] Failed to read output from testmodel.py, exit status != 0: 0.7067539328709245 0.928112769 0.30872731200000003 Calling exit ...