Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.QfURegulation.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.0008142/0.0008142, allocations: 84.44 kB / 20.73 MB, free: 3.836 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.0008482/0.0008482, allocations: 166.3 kB / 24 MB, free: 0.5586 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.8685/0.8685, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02701/0.02701, allocations: 4.47 MB / 265.2 MB, free: 8.766 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") translateModel(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 390.8 MB, free: 6.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.252e-05, allocations: 2.281 kB / 390.8 MB, free: 6.918 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.001722/0.001744, allocations: 0.7816 MB / 391.6 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.003128, allocations: 1.194 MB / 392.8 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.00317, allocations: 4 kB / 392.8 MB, free: 4.926 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.941e-05/0.003209, allocations: 7.938 kB / 392.8 MB, free: 4.918 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.003425, allocations: 19.84 kB / 392.8 MB, free: 4.898 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.003547, allocations: 31.84 kB / 392.9 MB, free: 4.867 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.00368, allocations: 95.8 kB / 393 MB, free: 4.773 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.307e-05/0.003764, allocations: 4 kB / 393 MB, free: 4.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.003902, allocations: 55.89 kB / 393 MB, free: 4.715 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.004013, allocations: 43.92 kB / 393.1 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.004033, allocations: 8 kB / 393.1 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.165e-05/0.004074, allocations: 12 kB / 393.1 MB, free: 4.652 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.00412, allocations: 35.91 kB / 393.1 MB, free: 4.617 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.004158, allocations: 31.91 kB / 393.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.004282, allocations: 91.75 kB / 393.2 MB, free: 4.496 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004284, allocations: 0 / 393.2 MB, free: 4.496 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004285, allocations: 0 / 393.2 MB, free: 4.496 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004289, allocations: 0 / 393.2 MB, free: 4.496 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006227/0.004911, allocations: 369.9 kB / 393.6 MB, free: 4.105 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.004946, allocations: 12.03 kB / 393.6 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.005027, allocations: 12.89 kB / 393.6 MB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.061e-05/0.005117, allocations: 113.7 kB / 393.7 MB, free: 3.945 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.005254, allocations: 186.8 kB / 393.9 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.005267, allocations: 8.312 kB / 393.9 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.006344, allocations: 414 kB / 394.3 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.006355, allocations: 4.188 kB / 394.3 MB, free: 3.289 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.006372, allocations: 8.125 kB / 394.3 MB, free: 3.281 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006378, allocations: 0 / 394.3 MB, free: 3.281 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.006821, allocations: 163.8 kB / 394.5 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.007176, allocations: 305.5 kB / 394.8 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.007668, allocations: 311.6 kB / 395.1 MB, free: 2.453 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.007877, allocations: 154.4 kB / 395.3 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.007903, allocations: 4 kB / 395.3 MB, free: 2.289 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.007931, allocations: 42.5 kB / 395.3 MB, free: 2.238 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.525e-06/0.007933, allocations: 7.922 kB / 395.3 MB, free: 2.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008159/0.008749, allocations: 341.7 kB / 395.6 MB, free: 1.891 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.008809, allocations: 106.8 kB / 395.8 MB, free: 1.762 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.709e-05/0.008866, allocations: 105.8 kB / 395.9 MB, free: 1.648 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.008878, allocations: 29.7 kB / 395.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.008911, allocations: 80.14 kB / 396 MB, free: 1.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.008926, allocations: 7.953 kB / 396 MB, free: 1.523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.00895, allocations: 13.72 kB / 396 MB, free: 1.504 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.009038, allocations: 322.9 kB / 396.3 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.009049, allocations: 0 / 396.3 MB, free: 1.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.009067, allocations: 17.66 kB / 396.3 MB, free: 1.156 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.009102, allocations: 17.72 kB / 396.3 MB, free: 1.133 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.009105, allocations: 4 kB / 396.3 MB, free: 1.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.964e-05/0.009175, allocations: 49.56 kB / 396.4 MB, free: 1.074 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.009188, allocations: 4 kB / 396.4 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.009193, allocations: 0 / 396.4 MB, free: 1.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.009208, allocations: 8.125 kB / 396.4 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.251e-05/0.00925, allocations: 0 / 396.4 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.009256, allocations: 4 kB / 396.4 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.009276, allocations: 0 / 396.4 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.009282, allocations: 4 kB / 396.4 MB, free: 1.055 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.417e-05/0.009367, allocations: 129.7 kB / 396.5 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004801/0.009847, allocations: 233.4 kB / 396.8 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.00995, allocations: 53.77 kB / 396.8 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.009953, allocations: 0 / 396.8 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.00996, allocations: 7.984 kB / 396.8 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.009964, allocations: 0 / 396.8 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.01017, allocations: 121.4 kB / 396.9 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01017, allocations: 0 / 396.9 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.01036, allocations: 47.95 kB / 397 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01036, allocations: 0 / 397 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.01038, allocations: 7.938 kB / 397 MB, free: 424 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.01038, allocations: 7.938 kB / 397 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01038, allocations: 4 kB / 397 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.01092, allocations: 427.5 kB / 397.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.01093, allocations: 15.94 kB / 397.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.01095, allocations: 3.938 kB / 397.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.01113, allocations: 23.92 kB / 397.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.01115, allocations: 7.984 kB / 397.5 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.01116, allocations: 8 kB / 397.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.587e-05/0.0112, allocations: 79.28 kB / 397.6 MB, free: 15.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0112, allocations: 0 / 397.6 MB, free: 15.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000235/0.01143, allocations: 19.94 kB / 397.6 MB, free: 15.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.9e-05/0.01152, allocations: 87.25 kB / 397.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.01185, allocations: 119.8 kB / 397.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01185, allocations: 0 / 397.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.01186, allocations: 12 kB / 397.8 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.01245, allocations: 133.5 kB / 397.9 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.01357, allocations: 407.9 kB / 398.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.32e-05/0.01363, allocations: 91.17 kB / 398.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.01367, allocations: 12.5 kB / 398.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01367, allocations: 0 / 398.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of Templates: time 0.001647/0.01531, allocations: 0.9747 MB / 399.4 MB, free: 13.92 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.QfURegulation.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Tests.QfURegulation -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.106956728734076] Failed to read output from testmodel.py, exit status != 0: 0.02137504518032074 0.17410978199999994 0.022828437 Calling exit ...