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.0009743/0.0009743, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001101/0.001101, allocations: 171.1 kB / 25.61 MB, free: 8.594 MB / 18.57 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 0.8744/0.8744, allocations: 158.6 MB / 187.5 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] 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.1804/0.1804, allocations: 36.34 MB / 276.2 MB, free: 14.37 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 355 MB, free: 62.63 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.608e-05, allocations: 6.25 kB / 355 MB, free: 62.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.1188/0.1188, allocations: 143.7 MB / 498.7 MB, free: 6.652 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00362/0.1224, allocations: 3.636 MB / 0.4906 GB, free: 3.016 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.1227, allocations: 7.938 kB / 0.4906 GB, free: 3.008 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.1232, allocations: 154.8 kB / 0.4908 GB, free: 2.855 MB / 410.7 MB [/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.0007043/0.1239, allocations: 0.5829 MB / 0.4913 GB, free: 2.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002322/0.1262, allocations: 1.546 MB / 0.4928 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008823/0.1271, allocations: 1.324 MB / 0.4941 GB, free: 15.39 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003314/0.1274, allocations: 371.2 kB / 0.4945 GB, free: 15.03 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007711/0.1282, allocations: 0.9628 MB / 0.4954 GB, free: 14.07 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.1286, allocations: 362.9 kB / 0.4958 GB, free: 13.71 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.168e-05/0.1286, allocations: 60 kB / 0.4958 GB, free: 13.65 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006398/0.1293, allocations: 470.8 kB / 0.4963 GB, free: 13.19 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.1296, allocations: 470.7 kB / 0.4967 GB, free: 12.73 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.1298, allocations: 339 kB / 0.497 GB, free: 12.4 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.1309, allocations: 1.145 MB / 0.4982 GB, free: 11.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1309, allocations: 0 / 0.4982 GB, free: 11.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.073e-06/0.1309, allocations: 4 kB / 0.4982 GB, free: 11.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1309, allocations: 0 / 0.4982 GB, free: 11.25 MB / 426.7 MB 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.001244/0.1321, allocations: 1.541 MB / 0.4997 GB, free: 9.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.1322, allocations: 12.03 kB / 0.4997 GB, free: 9.648 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004685/0.1326, allocations: 267.6 kB / 0.4999 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.1333, allocations: 0.6234 MB / 0.5006 GB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.1333, allocations: 49.5 kB / 0.5006 GB, free: 8.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.1333, allocations: 60.12 kB / 0.5007 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.1339, allocations: 0.8244 MB / 0.5015 GB, free: 7.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.1339, allocations: 0 / 0.5015 GB, free: 7.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.134, allocations: 28 kB / 0.5015 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.134, allocations: 16 kB / 0.5015 GB, free: 7.637 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.1342, allocations: 184.9 kB / 0.5017 GB, free: 7.457 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.1361, allocations: 1.558 MB / 0.5032 GB, free: 5.855 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1363, allocations: 120.3 kB / 0.5033 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.1363, allocations: 44.52 kB / 0.5034 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.1364, allocations: 19.98 kB / 0.5034 GB, free: 5.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1364, allocations: 49.34 kB / 0.5034 GB, free: 5.602 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.1364, allocations: 0 / 0.5034 GB, free: 5.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003447/0.1368, allocations: 242.3 kB / 0.5037 GB, free: 5.359 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.1368, allocations: 55.39 kB / 0.5037 GB, free: 5.293 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008789/0.1377, allocations: 1.101 MB / 0.5048 GB, free: 4.176 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1377, allocations: 33.64 kB / 0.5048 GB, free: 4.137 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.1381, allocations: 0.6672 MB / 0.5055 GB, free: 3.465 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.1381, allocations: 87.22 kB / 0.5055 GB, free: 3.379 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/0.1382, allocations: 91.64 kB / 0.5056 GB, free: 3.281 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1383, allocations: 0.4925 MB / 0.5061 GB, free: 2.781 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.1384, allocations: 61.5 kB / 0.5062 GB, free: 2.715 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.1385, allocations: 203.9 kB / 0.5064 GB, free: 2.449 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.1387, allocations: 262.7 kB / 0.5066 GB, free: 2.125 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1387, allocations: 0 / 0.5066 GB, free: 2.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003564/0.1391, allocations: 362.7 kB / 0.507 GB, free: 1.766 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1391, allocations: 7.984 kB / 0.507 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1391, allocations: 4 kB / 0.507 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1391, allocations: 8 kB / 0.507 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.1394, allocations: 115.8 kB / 0.5071 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1765/0.3159, allocations: 2.688 MB / 0.5097 GB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.3163, allocations: 47.2 kB / 0.5098 GB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.3163, allocations: 19.47 kB / 0.5098 GB, free: 22.18 MB / 426.7 MB 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.0003135/0.3166, allocations: 181.6 kB / 0.51 GB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.3168, allocations: 121.9 kB / 0.5101 GB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.3171, allocations: 219.4 kB / 0.5103 GB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3171, allocations: 3.969 kB / 0.5103 GB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.3171, allocations: 2.719 kB / 0.5103 GB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3171, allocations: 0 / 0.5103 GB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.3176, allocations: 439.5 kB / 0.5107 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3176, allocations: 1.75 kB / 0.5107 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.3178, allocations: 74.7 kB / 0.5108 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3178, allocations: 2.938 kB / 0.5108 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3178, allocations: 9.234 kB / 0.5108 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003915/0.3182, allocations: 2.687 MB / 0.5134 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3182, allocations: 5.375 kB / 0.5134 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.3185, allocations: 419.4 kB / 0.5138 GB, free: 18.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.143e-05/0.3186, allocations: 97.22 kB / 0.5139 GB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.3186, allocations: 3.625 kB / 0.5139 GB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.3188, allocations: 19.36 kB / 0.5139 GB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.3189, allocations: 13.88 kB / 0.514 GB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.3189, allocations: 20.48 kB / 0.514 GB, free: 18.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003906/0.3193, allocations: 0.6218 MB / 0.5146 GB, free: 18.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3193, allocations: 3.188 kB / 0.5146 GB, free: 18.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005239/0.3198, allocations: 239.8 kB / 0.5148 GB, free: 18.74 MB / 426.7 MB 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.0009243/0.3207, allocations: 453.9 kB / 0.5152 GB, free: 18.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.3211, allocations: 178.9 kB / 0.5154 GB, free: 18.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.3211, allocations: 3.469 kB / 0.5154 GB, free: 18.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.3212, allocations: 88.14 kB / 0.5155 GB, free: 18.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.3218, allocations: 221.8 kB / 0.5157 GB, free: 18.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.3236, allocations: 1.629 MB / 0.5173 GB, free: 17.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.3238, allocations: 251.5 kB / 0.5175 GB, free: 17.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002914/0.3241, allocations: 112.7 kB / 0.5176 GB, free: 17.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004534/0.3245, allocations: 329.5 kB / 0.518 GB, free: 17.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3245, allocations: 1.094 kB / 0.518 GB, free: 17.59 MB / 426.7 MB Notification: Performance of Templates: time 0.01782/0.3423, allocations: 12.9 MB / 0.5306 GB, free: 16.28 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8286017747595906]