Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001109/0.001109, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001224/0.001224, allocations: 162.9 kB / 24.99 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9444/0.9444, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08491/0.08491, allocations: 19.74 MB / 281.5 MB, free: 9.34 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") translateModel(ThermoPower.Test.GasComponents.TestCompressorInertia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 357.9 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.344e-05, allocations: 10.31 kB / 357.9 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.2644/0.2644, allocations: 162.6 MB / 0.5084 GB, free: 12.29 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.2683, allocations: 3.797 MB / 0.5121 GB, free: 8.48 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000442/0.2687, allocations: 11.88 kB / 0.5121 GB, free: 8.469 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007771/0.2695, allocations: 270.2 kB / 0.5124 GB, free: 8.203 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.2705, allocations: 0.6529 MB / 0.513 GB, free: 7.547 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.2735, allocations: 1.619 MB / 0.5146 GB, free: 5.922 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.2749, allocations: 1.387 MB / 0.5159 GB, free: 4.531 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004645/0.2754, allocations: 390 kB / 0.5163 GB, free: 4.148 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000725/0.2761, allocations: 0.7169 MB / 0.517 GB, free: 3.43 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.2766, allocations: 0.4987 MB / 0.5175 GB, free: 2.93 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.2767, allocations: 60 kB / 0.5176 GB, free: 2.871 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.2777, allocations: 0.6817 MB / 0.5182 GB, free: 2.188 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.278, allocations: 490.8 kB / 0.5187 GB, free: 1.707 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.2783, allocations: 359 kB / 0.519 GB, free: 1.355 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.2796, allocations: 1.277 MB / 0.5203 GB, free: 76 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2796, allocations: 0 / 0.5203 GB, free: 76 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2796, allocations: 0 / 0.5203 GB, free: 76 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.2796, allocations: 0 / 0.5203 GB, free: 76 kB / 394.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.001464/0.2811, allocations: 1.589 MB / 0.5218 GB, free: 14.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2811, allocations: 12.03 kB / 0.5218 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006353/0.2818, allocations: 285.1 kB / 0.5221 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008297/0.2826, allocations: 0.6729 MB / 0.5228 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.2826, allocations: 37.31 kB / 0.5228 GB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.5e-05/0.2827, allocations: 60 kB / 0.5229 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/0.2834, allocations: 0.8606 MB / 0.5237 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2834, allocations: 3.984 kB / 0.5237 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/0.2834, allocations: 24 kB / 0.5237 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.2834, allocations: 15.94 kB / 0.5237 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.2838, allocations: 227.7 kB / 0.524 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.2862, allocations: 1.818 MB / 0.5257 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.2864, allocations: 127.1 kB / 0.5259 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.146e-05/0.2864, allocations: 54.52 kB / 0.5259 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.2866, allocations: 27.97 kB / 0.5259 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.2866, allocations: 45.38 kB / 0.526 GB, free: 9.965 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.2866, allocations: 4 kB / 0.526 GB, free: 9.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004244/0.287, allocations: 269.1 kB / 0.5262 GB, free: 9.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.2871, allocations: 55.41 kB / 0.5263 GB, free: 9.625 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/0.2881, allocations: 1.201 MB / 0.5275 GB, free: 8.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.2881, allocations: 33.7 kB / 0.5275 GB, free: 8.371 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.2885, allocations: 0.6638 MB / 0.5281 GB, free: 7.703 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.2885, allocations: 79.33 kB / 0.5282 GB, free: 7.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/0.2886, allocations: 83.67 kB / 0.5283 GB, free: 7.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2888, allocations: 0.4887 MB / 0.5288 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.2889, allocations: 73.52 kB / 0.5288 GB, free: 6.961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.289, allocations: 219.8 kB / 0.5291 GB, free: 6.676 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.2894, allocations: 279.3 kB / 0.5293 GB, free: 6.336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2894, allocations: 0 / 0.5293 GB, free: 6.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004634/0.2899, allocations: 396.4 kB / 0.5297 GB, free: 5.941 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.2899, allocations: 8 kB / 0.5297 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2899, allocations: 4.438 kB / 0.5297 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2899, allocations: 8 kB / 0.5297 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.2903, allocations: 120.7 kB / 0.5298 GB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008396/0.2911, allocations: 2.691 MB / 0.5325 GB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.2913, allocations: 51.61 kB / 0.5325 GB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.2914, allocations: 28.28 kB / 0.5325 GB, free: 2.953 MB / 410.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.0002246/0.2916, allocations: 188.6 kB / 0.5327 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.2917, allocations: 123.2 kB / 0.5328 GB, free: 2.637 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/0.2921, allocations: 239.4 kB / 0.5331 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2921, allocations: 4 kB / 0.5331 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2921, allocations: 0 / 0.5331 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2921, allocations: 0 / 0.5331 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/0.2927, allocations: 0.6097 MB / 0.5337 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2927, allocations: 2.938 kB / 0.5337 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.2929, allocations: 67.89 kB / 0.5337 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.2929, allocations: 8 kB / 0.5337 GB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.2929, allocations: 7.984 kB / 0.5337 GB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009576/0.2939, allocations: 2.684 MB / 0.5364 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2939, allocations: 0 / 0.5364 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.2942, allocations: 446.9 kB / 0.5368 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.2944, allocations: 131.2 kB / 0.5369 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.2944, allocations: 12.2 kB / 0.5369 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.2946, allocations: 11.98 kB / 0.5369 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.2946, allocations: 19.97 kB / 0.537 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.2947, allocations: 19.98 kB / 0.537 GB, free: 14.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005889/0.2953, allocations: 0.7282 MB / 0.5377 GB, free: 13.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2953, allocations: 0 / 0.5377 GB, free: 13.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005689/0.2958, allocations: 267.3 kB / 0.5379 GB, free: 13.26 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.001052/0.2969, allocations: 0.51 MB / 0.5384 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003852/0.2973, allocations: 200.3 kB / 0.5386 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2973, allocations: 0.875 kB / 0.5386 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.2974, allocations: 91.58 kB / 0.5387 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006298/0.298, allocations: 229.9 kB / 0.5389 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.3001, allocations: 1.668 MB / 0.5406 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.3002, allocations: 250.3 kB / 0.5408 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003162/0.3006, allocations: 138.6 kB / 0.5409 GB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.3007, allocations: 72.48 kB / 0.541 GB, free: 10.17 MB / 426.7 MB Notification: Performance of SimCode: time 1.733e-06/0.3007, allocations: 0 / 0.541 GB, free: 10.17 MB / 426.7 MB Notification: Performance of Templates: time 0.01666/0.3173, allocations: 13.68 MB / 0.5544 GB, free: 12.61 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5480695471633226]