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.0009529/0.0009529, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009952/0.0009952, allocations: 172.1 kB / 24.92 MB, free: 8.73 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.8614/0.8614, allocations: 158.6 MB / 186.8 MB, free: 2.777 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.1703/0.1703, allocations: 36.35 MB / 275.5 MB, free: 10.54 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.203e-06/1.203e-06, allocations: 0 / 305.2 MB, free: 14.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.919e-06/1.112e-05, allocations: 4.969 kB / 305.2 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.1326/0.1327, allocations: 145.8 MB / 451 MB, free: 1.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003614/0.1363, allocations: 3.699 MB / 454.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.1364, allocations: 11.88 kB / 454.7 MB, free: 14.05 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.1369, allocations: 154.8 kB / 454.9 MB, free: 13.9 MB / 426.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.0006746/0.1376, allocations: 0.5829 MB / 455.5 MB, free: 13.32 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.1395, allocations: 1.545 MB / 457 MB, free: 11.77 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008414/0.1404, allocations: 1.328 MB / 458.3 MB, free: 10.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003536/0.1407, allocations: 386 kB / 458.7 MB, free: 10.05 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.1417, allocations: 0.8927 MB / 459.6 MB, free: 9.152 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.142, allocations: 346.9 kB / 459.9 MB, free: 8.812 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.1421, allocations: 56 kB / 460 MB, free: 8.758 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.1427, allocations: 474.8 kB / 460.5 MB, free: 8.293 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.1429, allocations: 466.7 kB / 460.9 MB, free: 7.836 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.1432, allocations: 339.1 kB / 461.2 MB, free: 7.504 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009002/0.1441, allocations: 1.148 MB / 462.4 MB, free: 6.352 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1441, allocations: 0 / 462.4 MB, free: 6.352 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1441, allocations: 0 / 462.4 MB, free: 6.352 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1441, allocations: 0 / 462.4 MB, free: 6.352 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.001107/0.1452, allocations: 1.346 MB / 463.7 MB, free: 4.977 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1452, allocations: 8.031 kB / 463.7 MB, free: 4.969 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/0.1457, allocations: 228.3 kB / 464 MB, free: 4.746 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.1462, allocations: 0.5816 MB / 464.6 MB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.1463, allocations: 37.69 kB / 464.6 MB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/0.1463, allocations: 72.08 kB / 464.7 MB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.1468, allocations: 0.8226 MB / 465.5 MB, free: 3.078 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1469, allocations: 4 kB / 465.5 MB, free: 3.074 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.1469, allocations: 27.94 kB / 465.5 MB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1469, allocations: 12 kB / 465.5 MB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.1471, allocations: 159.9 kB / 465.7 MB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.149, allocations: 1.199 MB / 466.9 MB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1491, allocations: 148 kB / 467 MB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.1491, allocations: 32.84 kB / 467.1 MB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.255e-05/0.1492, allocations: 27.98 kB / 467.1 MB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1493, allocations: 38.56 kB / 467.1 MB, free: 1.383 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.1493, allocations: 3.938 kB / 467.1 MB, free: 1.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002524/0.1495, allocations: 178.2 kB / 467.3 MB, free: 1.199 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.1495, allocations: 55.41 kB / 467.4 MB, free: 1.133 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006363/0.1502, allocations: 0.9772 MB / 468.3 MB, free: 144 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.1502, allocations: 33.7 kB / 468.4 MB, free: 104 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.182/0.3322, allocations: 397.4 kB / 468.8 MB, free: 21.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.038e-05/0.3323, allocations: 73.92 kB / 468.8 MB, free: 21.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.3324, allocations: 77.7 kB / 468.9 MB, free: 21.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.3324, allocations: 327.7 kB / 469.2 MB, free: 21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.3325, allocations: 60.48 kB / 469.3 MB, free: 20.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3326, allocations: 150.4 kB / 469.4 MB, free: 20.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.3328, allocations: 242.9 kB / 469.7 MB, free: 20.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3328, allocations: 1.219 kB / 469.7 MB, free: 20.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004157/0.3332, allocations: 275.6 kB / 469.9 MB, free: 20.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3332, allocations: 9.344 kB / 469.9 MB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3333, allocations: 4.531 kB / 469.9 MB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3333, allocations: 6.766 kB / 470 MB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.3336, allocations: 112.5 kB / 470.1 MB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003761/0.334, allocations: 1.764 MB / 471.8 MB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.3342, allocations: 40.27 kB / 471.9 MB, free: 18.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.3342, allocations: 18.11 kB / 471.9 MB, free: 18.87 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.000218/0.3344, allocations: 140.9 kB / 472 MB, free: 18.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.3346, allocations: 75.61 kB / 472.1 MB, free: 18.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.3348, allocations: 201.3 kB / 472.3 MB, free: 18.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3348, allocations: 4.094 kB / 472.3 MB, free: 18.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.3348, allocations: 0 / 472.3 MB, free: 18.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3348, allocations: 2.297 kB / 472.3 MB, free: 18.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.3352, allocations: 339.8 kB / 472.6 MB, free: 18.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3352, allocations: 1.094 kB / 472.6 MB, free: 18.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.3354, allocations: 67.2 kB / 472.7 MB, free: 18.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3354, allocations: 1.312 kB / 472.7 MB, free: 18.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3354, allocations: 10.75 kB / 472.7 MB, free: 18.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002794/0.3357, allocations: 1.757 MB / 474.5 MB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3357, allocations: 0.6562 kB / 474.5 MB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.336, allocations: 332.2 kB / 474.8 MB, free: 16.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.336, allocations: 105.6 kB / 474.9 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.3361, allocations: 13.7 kB / 474.9 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.3363, allocations: 19.03 kB / 474.9 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.3363, allocations: 11.22 kB / 474.9 MB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.3363, allocations: 17.56 kB / 475 MB, free: 16.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000449/0.3368, allocations: 0.5074 MB / 475.5 MB, free: 16.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3368, allocations: 0.875 kB / 475.5 MB, free: 16.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005218/0.3373, allocations: 231.9 kB / 475.7 MB, free: 16.55 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.001059/0.3383, allocations: 0.5378 MB / 476.2 MB, free: 16.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.3386, allocations: 175.1 kB / 476.4 MB, free: 16.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.857e-05/0.3386, allocations: 16.34 kB / 476.4 MB, free: 16.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3388, allocations: 69.73 kB / 476.5 MB, free: 16.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.3393, allocations: 221 kB / 476.7 MB, free: 16.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.3412, allocations: 1.638 MB / 478.3 MB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.3414, allocations: 242.8 kB / 478.6 MB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000283/0.3417, allocations: 116.4 kB / 478.7 MB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/0.3422, allocations: 262.7 kB / 478.9 MB, free: 15.29 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3422, allocations: 1.312 kB / 478.9 MB, free: 15.29 MB / 426.7 MB Notification: Performance of Templates: time 0.0151/0.3573, allocations: 12.69 MB / 491.6 MB, free: 14 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.5895432927645743]