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.001852/0.001852, allocations: 85.33 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002289/0.002289, allocations: 168 kB / 23.96 MB, free: 4.148 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.357/1.357, allocations: 158.6 MB / 185.7 MB, free: 6.422 MB / 174.1 MB " [Timeout remaining time 178] 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.2732/0.2732, allocations: 36.34 MB / 274.3 MB, free: 0.6367 MB / 254.1 MB " [Timeout remaining time 179] 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.343e-06/1.343e-06, allocations: 3.938 kB / 414.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.628e-05, allocations: 6.281 kB / 414.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestCompressorInertia): time 0.3703/0.3703, allocations: 147.5 MB / 0.5491 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006008/0.3763, allocations: 3.608 MB / 0.5527 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005279/0.3769, allocations: 15.88 kB / 0.5527 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.3779, allocations: 262.2 kB / 0.5529 GB, free: 14.71 MB / 446.1 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.001574/0.3795, allocations: 0.5985 MB / 0.5535 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004697/0.3842, allocations: 1.69 MB / 0.5552 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.3861, allocations: 1.352 MB / 0.5565 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007685/0.3868, allocations: 350.4 kB / 0.5568 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.3884, allocations: 0.7013 MB / 0.5575 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009639/0.3893, allocations: 0.4987 MB / 0.558 GB, free: 9.523 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.3895, allocations: 56 kB / 0.558 GB, free: 9.469 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.3911, allocations: 0.6388 MB / 0.5587 GB, free: 8.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005856/0.3917, allocations: 490.7 kB / 0.5591 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000763/0.3925, allocations: 355 kB / 0.5595 GB, free: 8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003881/0.3964, allocations: 1.577 MB / 0.561 GB, free: 6.418 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3964, allocations: 0 / 0.561 GB, free: 6.418 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3964, allocations: 4 kB / 0.561 GB, free: 6.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.895e-05/0.3964, allocations: 4 kB / 0.561 GB, free: 6.41 MB / 446.1 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.003406/0.3999, allocations: 1.422 MB / 0.5624 GB, free: 4.953 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3999, allocations: 12.03 kB / 0.5624 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009009/0.4008, allocations: 187 kB / 0.5626 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.4024, allocations: 0.794 MB / 0.5634 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.4025, allocations: 41.25 kB / 0.5634 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.4026, allocations: 52 kB / 0.5635 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.4041, allocations: 1.066 MB / 0.5645 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.4041, allocations: 4.938 kB / 0.5645 GB, free: 2.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.4042, allocations: 20 kB / 0.5645 GB, free: 2.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.4042, allocations: 16 kB / 0.5645 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008976/0.4051, allocations: 0.4892 MB / 0.565 GB, free: 2.117 MB / 446.1 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.00464/0.4097, allocations: 1.814 MB / 0.5668 GB, free: 268 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.4101, allocations: 194.5 kB / 0.567 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.4103, allocations: 68.83 kB / 0.567 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/0.4105, allocations: 39.95 kB / 0.5671 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.4106, allocations: 50.12 kB / 0.5671 GB, free: 15.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 2.214e-06/0.4106, allocations: 0 / 0.5671 GB, free: 15.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007956/0.4114, allocations: 341.7 kB / 0.5675 GB, free: 15.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.4114, allocations: 59.34 kB / 0.5675 GB, free: 15.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/0.4138, allocations: 1.652 MB / 0.5691 GB, free: 13.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.4138, allocations: 25.7 kB / 0.5692 GB, free: 13.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005173/0.4143, allocations: 0.5706 MB / 0.5697 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.4144, allocations: 79.31 kB / 0.5698 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.4146, allocations: 82.02 kB / 0.5699 GB, free: 13.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4147, allocations: 318 kB / 0.5702 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.415, allocations: 142.6 kB / 0.5703 GB, free: 12.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.4153, allocations: 230.7 kB / 0.5705 GB, free: 12.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.4159, allocations: 337.4 kB / 0.5708 GB, free: 11.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4159, allocations: 0 / 0.5708 GB, free: 11.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009616/0.4168, allocations: 0.4892 MB / 0.5713 GB, free: 11.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4168, allocations: 8 kB / 0.5713 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.4169, allocations: 7.938 kB / 0.5713 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.4169, allocations: 4 kB / 0.5713 GB, free: 11.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/0.4175, allocations: 127.9 kB / 0.5715 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.4187, allocations: 1.785 MB / 0.5732 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/0.4192, allocations: 47.98 kB / 0.5733 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/0.4192, allocations: 24 kB / 0.5733 GB, free: 9.367 MB / 462.1 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.0005444/0.4198, allocations: 377.5 kB / 0.5736 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.42, allocations: 111.3 kB / 0.5737 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000609/0.4206, allocations: 323.4 kB / 0.574 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4206, allocations: 0 / 0.574 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4206, allocations: 0 / 0.574 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.4206, allocations: 3.984 kB / 0.5741 GB, free: 8.551 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008092/0.4214, allocations: 0.5265 MB / 0.5746 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4215, allocations: 4.875 kB / 0.5746 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.4219, allocations: 82.38 kB / 0.5746 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4219, allocations: 0 / 0.5746 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.4219, allocations: 8 kB / 0.5747 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.423, allocations: 1.781 MB / 0.5764 GB, free: 6.055 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.423, allocations: 3.938 kB / 0.5764 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.4238, allocations: 476.9 kB / 0.5769 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.424, allocations: 147.4 kB / 0.577 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.4241, allocations: 7.984 kB / 0.577 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.4246, allocations: 19.98 kB / 0.577 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.4246, allocations: 11.97 kB / 0.577 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/0.4247, allocations: 19.98 kB / 0.5771 GB, free: 5.367 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001598/0.4263, allocations: 1.172 MB / 0.5782 GB, free: 4.188 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4263, allocations: 0 / 0.5782 GB, free: 4.188 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008493/0.4271, allocations: 255.4 kB / 0.5784 GB, free: 3.938 MB / 462.1 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.002063/0.4292, allocations: 0.5272 MB / 0.579 GB, free: 3.418 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007906/0.43, allocations: 279.8 kB / 0.5792 GB, free: 3.145 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.43, allocations: 4 kB / 0.5792 GB, free: 3.141 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.4303, allocations: 103.9 kB / 0.5793 GB, free: 3.039 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.4315, allocations: 212.9 kB / 0.5795 GB, free: 2.828 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.4349, allocations: 1.968 MB / 0.5815 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/0.4356, allocations: 0.5165 MB / 0.582 GB, free: 284 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005433/0.4362, allocations: 182.6 kB / 0.5821 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.4364, allocations: 72.48 kB / 0.5822 GB, free: 24 kB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4364, allocations: 0 / 0.5822 GB, free: 24 kB / 462.1 MB Notification: Performance of Templates: time 0.02744/0.4638, allocations: 13.62 MB / 0.5955 GB, free: 2.379 MB / 478.1 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestCompressorInertia.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.502310022711754] Failed to read output from testmodel.py, exit status != 0: 0.47316228970885277 0.48875276500000003 0.089114196 Calling exit ...