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.0009044/0.0009044, allocations: 80.53 kB / 19.96 MB, free: 4.598 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.000884/0.000884, allocations: 174.3 kB / 23.25 MB, free: 1.312 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.8958/0.8958, allocations: 177.1 MB / 203.6 MB, free: 5.734 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.02164/0.02164, allocations: 4.473 MB / 264.5 MB, free: 8.762 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: "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 389.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.296e-05, allocations: 2.281 kB / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.001505/0.001528, allocations: 0.7749 MB / 390.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.002924, allocations: 1.198 MB / 391.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.002968, allocations: 0 / 391.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.003008, allocations: 3.938 kB / 391.6 MB, free: 5.422 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.003227, allocations: 23.84 kB / 391.6 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.003362, allocations: 35.83 kB / 391.6 MB, free: 5.363 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.003498, allocations: 95.8 kB / 391.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.003584, allocations: 4 kB / 391.7 MB, free: 5.266 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.003731, allocations: 59.88 kB / 391.8 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.003851, allocations: 35.95 kB / 391.8 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.003877, allocations: 12 kB / 391.8 MB, free: 5.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.00392, allocations: 12 kB / 391.8 MB, free: 5.148 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.003971, allocations: 35.89 kB / 391.9 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.004014, allocations: 27.92 kB / 391.9 MB, free: 5.086 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.004159, allocations: 91.81 kB / 392 MB, free: 4.996 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004161, allocations: 0 / 392 MB, free: 4.996 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.004162, allocations: 0 / 392 MB, free: 4.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004166, allocations: 0 / 392 MB, free: 4.996 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.0006785/0.004845, allocations: 369.9 kB / 392.3 MB, free: 4.605 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.004895, allocations: 12.03 kB / 392.4 MB, free: 4.594 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.004939, allocations: 38.69 kB / 392.4 MB, free: 4.547 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.357e-05/0.005032, allocations: 12.89 kB / 392.4 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.005136, allocations: 129.6 kB / 392.5 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.005288, allocations: 186.8 kB / 392.7 MB, free: 4.164 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.005302, allocations: 8.375 kB / 392.7 MB, free: 4.156 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006475/0.005949, allocations: 415 kB / 393.1 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.005958, allocations: 4.125 kB / 393.1 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.00597, allocations: 3.938 kB / 393.1 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.005975, allocations: 0 / 393.1 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.006273, allocations: 163.9 kB / 393.3 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.006611, allocations: 328.9 kB / 393.6 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.007125, allocations: 315.5 kB / 393.9 MB, free: 2.855 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.007326, allocations: 150.5 kB / 394.1 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.00735, allocations: 4 kB / 394.1 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.007374, allocations: 42.5 kB / 394.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 9.71e-07/0.007375, allocations: 0 / 394.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006743/0.008049, allocations: 341.7 kB / 394.5 MB, free: 2.305 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.008117, allocations: 110.8 kB / 394.6 MB, free: 2.172 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.008179, allocations: 105.8 kB / 394.7 MB, free: 2.059 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.008192, allocations: 25.7 kB / 394.7 MB, free: 2.027 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.008229, allocations: 84.2 kB / 394.8 MB, free: 1.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.008248, allocations: 11.95 kB / 394.8 MB, free: 1.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.008272, allocations: 13.7 kB / 394.8 MB, free: 1.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.008355, allocations: 314.8 kB / 395.1 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.008364, allocations: 0 / 395.1 MB, free: 1.594 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.008379, allocations: 21.66 kB / 395.1 MB, free: 1.566 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.008403, allocations: 13.72 kB / 395.1 MB, free: 1.547 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.008405, allocations: 0 / 395.1 MB, free: 1.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.136e-05/0.008457, allocations: 57.62 kB / 395.2 MB, free: 1.484 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.008468, allocations: 4 kB / 395.2 MB, free: 1.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.008472, allocations: 0 / 395.2 MB, free: 1.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.008484, allocations: 0 / 395.2 MB, free: 1.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.688e-05/0.008521, allocations: 4 kB / 395.2 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.008528, allocations: 3.984 kB / 395.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.008542, allocations: 11.89 kB / 395.2 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.008547, allocations: 0 / 395.2 MB, free: 1.461 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 6.264e-05/0.008609, allocations: 113.8 kB / 395.3 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/0.008973, allocations: 237.5 kB / 395.6 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.794e-05/0.009071, allocations: 53.81 kB / 395.6 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.009076, allocations: 8.031 kB / 395.6 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.009081, allocations: 0 / 395.6 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.009085, allocations: 4 kB / 395.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.00926, allocations: 148.6 kB / 395.8 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.009261, allocations: 4 kB / 395.8 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.009385, allocations: 47.91 kB / 395.8 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009387, allocations: 0 / 395.8 MB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.009397, allocations: 8 kB / 395.8 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.009399, allocations: 3.984 kB / 395.8 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.0094, allocations: 3.938 kB / 395.8 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.009802, allocations: 426.8 kB / 396.3 MB, free: 352 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.009815, allocations: 16.02 kB / 396.3 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.00983, allocations: 8 kB / 396.3 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.009934, allocations: 23.97 kB / 396.3 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.009957, allocations: 7.984 kB / 396.3 MB, free: 296 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.009965, allocations: 7.938 kB / 396.3 MB, free: 288 kB / 314.7 MB Notification: Performance of sorting global known variables: time 3.965e-05/0.01, allocations: 83.27 kB / 396.4 MB, free: 204 kB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01, allocations: 4 kB / 396.4 MB, free: 200 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001988/0.0102, allocations: 12 kB / 396.4 MB, free: 188 kB / 314.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 0.0006884/0.01089, allocations: 0.9545 MB / 397.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.01112, allocations: 107.9 kB / 397.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01113, allocations: 4.125 kB / 397.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.408e-06/0.01114, allocations: 7.938 kB / 397.5 MB, free: 15.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.01156, allocations: 128 kB / 397.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.01309, allocations: 1.541 MB / 399.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.01325, allocations: 95.17 kB / 399.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.846e-05/0.01326, allocations: 0 / 399.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.01332, allocations: 20.56 kB / 399.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01332, allocations: 3.938 kB / 399.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.03031, allocations: 2.698 MB / 402 MB, free: 10.59 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.83/6.86, allocations: 7.188 kB / 402 MB, free: 10.58 MB / 330.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_QfURegulation_fmu --startTime=0 --stopTime=150 --stepSize=0.06 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_QfURegulation.fmu > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.706599631346762] Failed to read output from testmodel.py, exit status != 0: 6.939001999795437 7.096195768 7.090049583 Calling exit ...