Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGT.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.001082/0.001082, 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.004041/0.004041, 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.8947/0.8947, 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.1828/0.1828, allocations: 36.35 MB / 275.1 MB, free: 10.98 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.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") translateModel(ThermoPower.Test.GasComponents.TestGT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 415.6 MB, free: 5.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.558e-05, allocations: 6.281 kB / 415.6 MB, free: 5.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGT): time 0.303/0.303, allocations: 161.4 MB / 0.5634 GB, free: 11.72 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.306, allocations: 1.877 MB / 0.5653 GB, free: 9.836 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004282/0.3064, allocations: 15.88 kB / 0.5653 GB, free: 9.82 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008935/0.3073, allocations: 373.4 kB / 0.5656 GB, free: 9.453 MB / 474.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.001144/0.3084, allocations: 0.8317 MB / 0.5664 GB, free: 8.617 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.3106, allocations: 1.106 MB / 0.5675 GB, free: 7.512 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001585/0.3122, allocations: 1.882 MB / 0.5694 GB, free: 5.625 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006099/0.3128, allocations: 0.5753 MB / 0.5699 GB, free: 5.031 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.3139, allocations: 1.055 MB / 0.5709 GB, free: 3.977 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006547/0.3146, allocations: 0.7638 MB / 0.5717 GB, free: 3.211 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.661e-05/0.3147, allocations: 84 kB / 0.5718 GB, free: 3.129 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.3157, allocations: 0.6192 MB / 0.5724 GB, free: 2.508 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004443/0.3162, allocations: 0.8221 MB / 0.5732 GB, free: 1.684 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004275/0.3166, allocations: 0.5999 MB / 0.5738 GB, free: 1.082 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.319, allocations: 2.442 MB / 0.5762 GB, free: 14.63 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.319, allocations: 0 / 0.5762 GB, free: 14.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.319, allocations: 3.938 kB / 0.5762 GB, free: 14.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.319, allocations: 0 / 0.5762 GB, free: 14.63 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002269/0.3213, allocations: 2.335 MB / 0.5784 GB, free: 12.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.3213, allocations: 16.03 kB / 0.5785 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005485/0.3218, allocations: 306.4 kB / 0.5787 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.3232, allocations: 1.328 MB / 0.58 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.726e-05/0.3232, allocations: 117.4 kB / 0.5802 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.068e-05/0.3233, allocations: 95.89 kB / 0.5802 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.3249, allocations: 1.846 MB / 0.582 GB, free: 8.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.325, allocations: 0 / 0.582 GB, free: 8.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.716e-05/0.325, allocations: 47.55 kB / 0.5821 GB, free: 8.207 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/0.3251, allocations: 37.98 kB / 0.5821 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008315/0.3259, allocations: 0.8235 MB / 0.5829 GB, free: 7.348 MB / 490.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.004353/0.3302, allocations: 4.031 MB / 0.5869 GB, free: 3.219 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.3307, allocations: 297.3 kB / 0.5872 GB, free: 2.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.3308, allocations: 139.5 kB / 0.5873 GB, free: 2.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.3309, allocations: 7.859 kB / 0.5873 GB, free: 2.762 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3309, allocations: 42.56 kB / 0.5873 GB, free: 2.711 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 2.555e-06/0.3309, allocations: 4 kB / 0.5873 GB, free: 2.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=40): time 0.002068/0.333, allocations: 1.593 MB / 0.5889 GB, free: 1.074 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.333, allocations: 85.05 kB / 0.589 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.3352, allocations: 2.979 MB / 0.5919 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.3353, allocations: 37.7 kB / 0.5919 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/0.3357, allocations: 0.9769 MB / 0.5929 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.962e-05/0.3358, allocations: 150.7 kB / 0.593 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.336, allocations: 126.3 kB / 0.5931 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.3361, allocations: 333.9 kB / 0.5935 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.3363, allocations: 209.2 kB / 0.5937 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.3366, allocations: 398 kB / 0.594 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.3371, allocations: 0.5727 MB / 0.5946 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3371, allocations: 0 / 0.5946 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001143/0.3383, allocations: 0.8285 MB / 0.5954 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.3383, allocations: 14.69 kB / 0.5954 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.3383, allocations: 6.422 kB / 0.5954 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.3383, allocations: 12 kB / 0.5954 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.3389, allocations: 211.7 kB / 0.5956 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004964/0.3394, allocations: 1.203 MB / 0.5968 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.3398, allocations: 36.12 kB / 0.5968 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.3398, allocations: 35.98 kB / 0.5969 GB, free: 8.586 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006372/0.3405, allocations: 0.5872 MB / 0.5975 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.3406, allocations: 190.8 kB / 0.5976 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000552/0.3412, allocations: 0.4966 MB / 0.5981 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3412, allocations: 4 kB / 0.5981 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3412, allocations: 0 / 0.5981 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3412, allocations: 7.984 kB / 0.5981 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.3429, allocations: 1.553 MB / 0.5996 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3429, allocations: 0.875 kB / 0.5996 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.3433, allocations: 132.8 kB / 0.5998 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3433, allocations: 0 / 0.5998 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3433, allocations: 12 kB / 0.5998 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004469/0.3438, allocations: 1.199 MB / 0.601 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3438, allocations: 0 / 0.601 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.3445, allocations: 0.7316 MB / 0.6017 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.3449, allocations: 302.6 kB / 0.602 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.84e-05/0.3449, allocations: 10.62 kB / 0.602 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.3453, allocations: 35.91 kB / 0.602 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.3453, allocations: 31.89 kB / 0.602 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003443/0.3457, allocations: 23.97 kB / 0.6021 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00171/0.3474, allocations: 2.101 MB / 0.6041 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3474, allocations: 0 / 0.6041 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007849/0.3482, allocations: 323.8 kB / 0.6044 GB, free: 0.7148 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Generator.phi,Generator.omega_m,Generator.omega_e_filt,Grid.port.theta) * Number of discrete variables: 1 (BooleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.3493, allocations: 0.5846 MB / 0.605 GB, free: 132 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007172/0.35, allocations: 435 kB / 0.6054 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.35, allocations: 4.5 kB / 0.6054 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.3502, allocations: 168.1 kB / 0.6056 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008825/0.3511, allocations: 307.8 kB / 0.6059 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.3552, allocations: 3.606 MB / 0.6094 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/0.3558, allocations: 0.8848 MB / 0.6102 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.356, allocations: 92.48 kB / 0.6103 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of SimCode: time 1.472e-06/0.356, allocations: 0 / 0.6103 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.1849/0.5409, allocations: 34.7 MB / 0.6442 GB, free: 178.2 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGT.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.986099920235574] Failed to read output from testmodel.py, exit status != 0: 0.5467833327129483 0.55271076 0.232234094 Calling exit ...