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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 116.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002308/0.002308, allocations: 190.7 kB / 21.4 MB, free: 1.664 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.572/1.572, allocations: 207.6 MB / 231.8 MB, free: 4.09 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4849/0.4849, allocations: 49.51 MB / 333.1 MB, free: 0.7578 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 75.25 kB / 471.9 MB, free: 40.8 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1179, allocations: 62.33 MB / 0.5217 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.4776/0.5955, allocations: 171.2 MB / 0.6889 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00488/0.6004, allocations: 3.913 MB / 0.6927 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006061/0.601, allocations: 8.625 kB / 0.6927 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009822/0.602, allocations: 280.6 kB / 0.693 GB, free: 14.06 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.001228/0.6032, allocations: 0.579 MB / 0.6936 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004207/0.6074, allocations: 1.647 MB / 0.6952 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001796/0.6092, allocations: 1.33 MB / 0.6965 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005595/0.6097, allocations: 366.9 kB / 0.6968 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007578/0.6105, allocations: 0.5325 MB / 0.6974 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006559/0.6112, allocations: 0.5685 MB / 0.6979 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.837e-05/0.6113, allocations: 60.53 kB / 0.698 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.6128, allocations: 0.7059 MB / 0.6987 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004015/0.6132, allocations: 482.8 kB / 0.6991 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005725/0.6138, allocations: 0.5457 MB / 0.6997 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.6159, allocations: 1.561 MB / 0.7012 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6159, allocations: 2.375 kB / 0.7012 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.616, allocations: 0 / 0.7012 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.616, allocations: 4 kB / 0.7012 GB, free: 12.81 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.002446/0.6184, allocations: 1.513 MB / 0.7027 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.6185, allocations: 11.7 kB / 0.7027 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007481/0.6192, allocations: 189.2 kB / 0.7029 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.6204, allocations: 0.8622 MB / 0.7037 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.6205, allocations: 38.47 kB / 0.7037 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.1e-05/0.6205, allocations: 50.5 kB / 0.7038 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009628/0.6215, allocations: 0.634 MB / 0.7044 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.6215, allocations: 2.188 kB / 0.7044 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.386e-05/0.6216, allocations: 26.69 kB / 0.7044 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.6216, allocations: 12.62 kB / 0.7044 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/0.6223, allocations: 0.4942 MB / 0.7049 GB, free: 10.93 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.004499/0.6268, allocations: 2.545 MB / 0.7074 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.6271, allocations: 190 kB / 0.7076 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.6272, allocations: 72.55 kB / 0.7077 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002834/0.6275, allocations: 115.9 kB / 0.7078 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.6275, allocations: 40.53 kB / 0.7078 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 2.034e-06/0.6275, allocations: 2.938 kB / 0.7078 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20): time 0.0007279/0.6283, allocations: 364.3 kB / 0.7082 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.6283, allocations: 54.16 kB / 0.7082 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.6304, allocations: 1.877 MB / 0.71 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.6305, allocations: 36.14 kB / 0.7101 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/0.6309, allocations: 0.5718 MB / 0.7106 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.219e-05/0.631, allocations: 75.69 kB / 0.7107 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.6311, allocations: 82.7 kB / 0.7108 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.6313, allocations: 327.3 kB / 0.7111 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.6315, allocations: 137.9 kB / 0.7112 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.6318, allocations: 236.2 kB / 0.7115 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/0.6323, allocations: 328.3 kB / 0.7118 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.6323, allocations: 1.938 kB / 0.7118 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008731/0.6332, allocations: 0.5084 MB / 0.7123 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.6332, allocations: 4.844 kB / 0.7123 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.6332, allocations: 9.641 kB / 0.7123 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.6332, allocations: 8.5 kB / 0.7123 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.6338, allocations: 115 kB / 0.7124 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.6351, allocations: 1.791 MB / 0.7141 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.6357, allocations: 75.02 kB / 0.7142 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.6358, allocations: 22.39 kB / 0.7142 GB, free: 5.582 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.000595/0.6364, allocations: 375.9 kB / 0.7146 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.6366, allocations: 126.3 kB / 0.7147 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005555/0.6371, allocations: 351.8 kB / 0.7151 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.6371, allocations: 5.312 kB / 0.7151 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6371, allocations: 0 / 0.7151 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.6372, allocations: 3.984 kB / 0.7151 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009005/0.6381, allocations: 0.7002 MB / 0.7157 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6381, allocations: 0 / 0.7157 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.6384, allocations: 72.89 kB / 0.7158 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.6384, allocations: 0 / 0.7158 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.6384, allocations: 6.031 kB / 0.7158 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.6396, allocations: 1.784 MB / 0.7176 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6396, allocations: 0 / 0.7176 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006775/0.6403, allocations: 0.4943 MB / 0.718 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.6407, allocations: 242.5 kB / 0.7183 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.6408, allocations: 9.469 kB / 0.7183 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.6412, allocations: 18.05 kB / 0.7183 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.6413, allocations: 12.86 kB / 0.7183 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/0.6413, allocations: 23.59 kB / 0.7183 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001745/0.6431, allocations: 1.344 MB / 0.7197 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6431, allocations: 8 kB / 0.7197 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008723/0.644, allocations: 239 kB / 0.7199 GB, free: 1.969 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.001866/0.6458, allocations: 0.5031 MB / 0.7204 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000774/0.6466, allocations: 268 kB / 0.7206 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.6466, allocations: 2.781 kB / 0.7206 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.6469, allocations: 100.3 kB / 0.7207 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.6488, allocations: 387.1 kB / 0.7211 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.652, allocations: 2.123 MB / 0.7232 GB, free: 56 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008885/0.6529, allocations: 1.107 MB / 0.7243 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.6532, allocations: 80.23 kB / 0.7243 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.6532, allocations: 0 / 0.7243 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of Templates: time 0.03922/0.6924, allocations: 27.11 MB / 0.7508 GB, free: 6.695 MB / 0.545 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.697331816889346] Failed to read output from testmodel.py, exit status != 0: 0.7008147239685059 0.71528668 0.096227881 Calling exit ...