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.0007779/0.0007779, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.002827/0.002827, allocations: 160.7 kB / 24.7 MB, free: 9.418 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.7664/0.7664, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.1667/0.1667, allocations: 36.34 MB / 275.1 MB, free: 10.9 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 2.084e-06/2.084e-06, allocations: 0 / 415.6 MB, free: 5.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.429e-05, allocations: 2.281 kB / 415.6 MB, free: 5.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.301/0.301, allocations: 147.5 MB / 0.5499 GB, free: 9.613 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003782/0.3048, allocations: 3.607 MB / 0.5534 GB, free: 5.996 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004994/0.3053, allocations: 15.88 kB / 0.5534 GB, free: 5.98 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007535/0.3061, allocations: 258.2 kB / 0.5537 GB, free: 5.727 MB / 458.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.001008/0.3071, allocations: 0.604 MB / 0.5542 GB, free: 5.121 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003416/0.3105, allocations: 1.688 MB / 0.5559 GB, free: 3.434 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.3119, allocations: 1.348 MB / 0.5572 GB, free: 2.082 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005718/0.3124, allocations: 350.4 kB / 0.5575 GB, free: 1.738 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000898/0.3133, allocations: 0.7052 MB / 0.5582 GB, free: 1.031 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005995/0.3139, allocations: 0.4987 MB / 0.5587 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.896e-05/0.314, allocations: 60 kB / 0.5588 GB, free: 484 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.3153, allocations: 0.6297 MB / 0.5594 GB, free: 15.84 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.3156, allocations: 494.7 kB / 0.5599 GB, free: 15.36 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.3159, allocations: 351.1 kB / 0.5602 GB, free: 15.02 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.3178, allocations: 1.581 MB / 0.5617 GB, free: 13.43 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3178, allocations: 4 kB / 0.5617 GB, free: 13.43 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3178, allocations: 0 / 0.5617 GB, free: 13.43 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.07e-05/0.3179, allocations: 0 / 0.5617 GB, free: 13.43 MB / 474.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.002476/0.3204, allocations: 1.426 MB / 0.5631 GB, free: 11.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.3204, allocations: 12.03 kB / 0.5631 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005738/0.321, allocations: 183 kB / 0.5633 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.322, allocations: 0.7979 MB / 0.5641 GB, free: 10.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.3221, allocations: 37.31 kB / 0.5641 GB, free: 10.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/0.3221, allocations: 52 kB / 0.5642 GB, free: 10.85 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000976/0.3231, allocations: 1.062 MB / 0.5652 GB, free: 9.668 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3231, allocations: 0 / 0.5652 GB, free: 9.668 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.737e-05/0.3232, allocations: 23.94 kB / 0.5652 GB, free: 9.645 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.3232, allocations: 12 kB / 0.5653 GB, free: 9.633 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.3237, allocations: 0.4892 MB / 0.5657 GB, free: 9.141 MB / 474.7 MB 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.002922/0.3266, allocations: 1.83 MB / 0.5675 GB, free: 7.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.3269, allocations: 183.5 kB / 0.5677 GB, free: 7.082 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/0.327, allocations: 68.88 kB / 0.5678 GB, free: 7.012 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.3271, allocations: 43.94 kB / 0.5678 GB, free: 6.969 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3272, allocations: 42.5 kB / 0.5678 GB, free: 6.918 MB / 474.7 MB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/0.3272, allocations: 4 kB / 0.5679 GB, free: 6.914 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005189/0.3277, allocations: 341.7 kB / 0.5682 GB, free: 6.574 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.3277, allocations: 59.34 kB / 0.5682 GB, free: 6.504 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.3291, allocations: 1.648 MB / 0.5698 GB, free: 4.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.3292, allocations: 37.64 kB / 0.5699 GB, free: 4.797 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.3295, allocations: 0.5667 MB / 0.5704 GB, free: 4.227 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.3296, allocations: 83.38 kB / 0.5705 GB, free: 4.145 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-05/0.3297, allocations: 78.02 kB / 0.5706 GB, free: 4.062 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3298, allocations: 322 kB / 0.5709 GB, free: 3.742 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.3299, allocations: 142.1 kB / 0.571 GB, free: 3.602 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.3301, allocations: 230.7 kB / 0.5712 GB, free: 3.324 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.3305, allocations: 337.4 kB / 0.5716 GB, free: 2.945 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3305, allocations: 0 / 0.5716 GB, free: 2.945 MB / 474.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005692/0.331, allocations: 496.9 kB / 0.572 GB, free: 2.453 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.3311, allocations: 8.031 kB / 0.5721 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3311, allocations: 8 kB / 0.5721 GB, free: 2.438 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3311, allocations: 4 kB / 0.5721 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.3314, allocations: 123.8 kB / 0.5722 GB, free: 2.312 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000793/0.3322, allocations: 1.785 MB / 0.5739 GB, free: 468 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.3325, allocations: 55.61 kB / 0.574 GB, free: 412 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.3325, allocations: 19.98 kB / 0.574 GB, free: 392 kB / 474.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.0004722/0.333, allocations: 385.8 kB / 0.5744 GB, free: 15.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.3331, allocations: 107.3 kB / 0.5745 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.3336, allocations: 329.7 kB / 0.5748 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3336, allocations: 0 / 0.5748 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3336, allocations: 0 / 0.5748 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3336, allocations: 4 kB / 0.5748 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.3341, allocations: 0.5265 MB / 0.5753 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3341, allocations: 4.875 kB / 0.5753 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.3343, allocations: 80.7 kB / 0.5754 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.3343, allocations: 0 / 0.5754 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.3344, allocations: 8 kB / 0.5754 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006709/0.335, allocations: 1.777 MB / 0.5771 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.335, allocations: 0 / 0.5771 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.3355, allocations: 480.6 kB / 0.5776 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.3356, allocations: 144.4 kB / 0.5777 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.3357, allocations: 7.938 kB / 0.5777 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.3359, allocations: 19.98 kB / 0.5777 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.3359, allocations: 15.97 kB / 0.5778 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.3359, allocations: 19.98 kB / 0.5778 GB, free: 12.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000965/0.3369, allocations: 1.169 MB / 0.5789 GB, free: 11.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3369, allocations: 0 / 0.5789 GB, free: 11.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006698/0.3376, allocations: 259.4 kB / 0.5792 GB, free: 10.95 MB / 490.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.001032/0.3386, allocations: 0.5234 MB / 0.5797 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000483/0.3391, allocations: 287.9 kB / 0.58 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3391, allocations: 4 kB / 0.58 GB, free: 10.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.3393, allocations: 99.89 kB / 0.5801 GB, free: 10.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/0.3399, allocations: 216.6 kB / 0.5803 GB, free: 9.832 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.3421, allocations: 2.005 MB / 0.5822 GB, free: 7.785 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.3425, allocations: 0.5123 MB / 0.5827 GB, free: 7.242 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.3426, allocations: 72.48 kB / 0.5828 GB, free: 7.172 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3426, allocations: 0 / 0.5828 GB, free: 7.172 MB / 490.7 MB Notification: Performance of Templates: time 0.02264/0.3652, allocations: 25.04 MB / 0.6072 GB, free: 14.09 MB / 0.5105 GB " [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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.605848205275834] Failed to read output from testmodel.py, exit status != 0: 0.37171454820781946 0.5650929090000001 0.060828867 Calling exit ...