Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.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.0008414/0.0008414, allocations: 76.55 kB / 19.97 MB, free: 4.594 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.0009831/0.0009831, allocations: 173.9 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.898/0.898, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.02205/0.02205, allocations: 4.468 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.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 4 kB / 389.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.5e-05, allocations: 2.281 kB / 389.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.001677/0.001692, allocations: 1.633 MB / 391.2 MB, free: 5.789 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000741/0.002433, allocations: 0.6195 MB / 391.8 MB, free: 5.168 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.002488, allocations: 0 / 391.8 MB, free: 5.168 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.002647, allocations: 123.6 kB / 391.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.002828, allocations: 143.5 kB / 392.1 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.00312, allocations: 115.6 kB / 392.2 MB, free: 4.793 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.003317, allocations: 235.4 kB / 392.4 MB, free: 4.562 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.736e-05/0.003394, allocations: 13.16 kB / 392.4 MB, free: 4.547 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.003527, allocations: 139.7 kB / 392.6 MB, free: 4.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.003709, allocations: 203.7 kB / 392.8 MB, free: 4.211 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.003732, allocations: 19.94 kB / 392.8 MB, free: 4.191 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.00383, allocations: 75.94 kB / 392.9 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.211e-05/0.003922, allocations: 103.7 kB / 393 MB, free: 4.016 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.323e-05/0.003996, allocations: 79.7 kB / 393.1 MB, free: 3.938 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.004261, allocations: 339 kB / 393.4 MB, free: 3.605 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004262, allocations: 0 / 393.4 MB, free: 3.605 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004263, allocations: 0 / 393.4 MB, free: 3.605 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.004267, allocations: 0 / 393.4 MB, free: 3.605 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005968/0.004864, allocations: 0.6398 MB / 394 MB, free: 2.922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.004896, allocations: 16.03 kB / 394 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.004926, allocations: 34.75 kB / 394.1 MB, free: 2.863 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.004974, allocations: 44.66 kB / 394.1 MB, free: 2.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.00528, allocations: 323.9 kB / 394.4 MB, free: 2.477 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.005293, allocations: 4.375 kB / 394.4 MB, free: 2.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.005307, allocations: 4.375 kB / 394.4 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.005567, allocations: 296.9 kB / 394.7 MB, free: 2.148 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.005575, allocations: 3.938 kB / 394.7 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.005587, allocations: 4 kB / 394.7 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.005591, allocations: 0 / 394.7 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.005741, allocations: 171.3 kB / 394.9 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.006213, allocations: 455.6 kB / 395.4 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.006375, allocations: 193.8 kB / 395.5 MB, free: 1.262 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.006512, allocations: 176.2 kB / 395.7 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.00652, allocations: 0 / 395.7 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/0.006853, allocations: 490.5 kB / 396.2 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.006854, allocations: 0 / 396.2 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007766/0.007631, allocations: 0.721 MB / 396.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/0.00771, allocations: 225.6 kB / 397.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.008091, allocations: 0.5643 MB / 397.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.008106, allocations: 25.7 kB / 397.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.008204, allocations: 199.9 kB / 397.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.008238, allocations: 47.81 kB / 398 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.008284, allocations: 33.7 kB / 398 MB, free: 14.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.008378, allocations: 362.8 kB / 398.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.008481, allocations: 163.4 kB / 398.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.008598, allocations: 209.1 kB / 398.7 MB, free: 13.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.009029, allocations: 0.634 MB / 399.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.009031, allocations: 4.031 kB / 399.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003138/0.009344, allocations: 500 kB / 399.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.00938, allocations: 71.39 kB / 399.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.009385, allocations: 0 / 399.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.009395, allocations: 0 / 399.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.624e-05/0.009441, allocations: 12 kB / 399.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.009446, allocations: 4 kB / 399.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.009591, allocations: 51.89 kB / 400 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.009602, allocations: 4 kB / 400 MB, free: 12.49 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) \"Current tap position\" type: Integer tapChanger.furtherTapChangeTimeout:DISCRETE(start = tapChanger.nextTapChangeTimeout unit = \"s\" fixed = true protected = true ) \"Time lag between the first change and the following tap\" type: Real tapChanger.abnormalUTime:DISCRETE(unit = \"s\" fixed = true protected = true ) \"Time when the signal U went out its normal range\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.tapChanger.tap,$PRE.tapChanger.furtherTapChangeTimeout,$PRE.tapChanger.abnormalUTime,tapChanger.furtherTapChangeTimeout,tapChanger.increaseEvent,tapChanger.decreaseEvent,tapChanger.normalU,tapChanger.abnormalUTime,tapChanger.tap,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002018/0.009804, allocations: 299.1 kB / 400.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.009841, allocations: 47.72 kB / 400.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.009876, allocations: 47.89 kB / 400.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.009878, allocations: 0 / 400.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.009882, allocations: 4 kB / 400.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.009885, allocations: 3.984 kB / 400.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.01005, allocations: 280.5 kB / 400.6 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-07/0.01005, allocations: 0 / 400.6 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.114e-05/0.01006, allocations: 4 kB / 400.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.01006, allocations: 0 / 400.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.01008, allocations: 19.92 kB / 400.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01008, allocations: 0 / 400.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01008, allocations: 0 / 400.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.01056, allocations: 0.6126 MB / 401.3 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.967e-05/0.01066, allocations: 79.61 kB / 401.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.0107, allocations: 16 kB / 401.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.01083, allocations: 43.94 kB / 401.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.01089, allocations: 19.98 kB / 401.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.01091, allocations: 15.98 kB / 401.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002743/0.01118, allocations: 415.1 kB / 401.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01118, allocations: 0 / 401.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.01137, allocations: 75.92 kB / 401.9 MB, free: 10.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,tapChanger.tap,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (tapChanger.tap,tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.0007283/0.0121, allocations: 1.192 MB / 403.1 MB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003872/0.01249, allocations: 0.5247 MB / 403.7 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01249, allocations: 0 / 403.7 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.01271, allocations: 334.1 kB / 404 MB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.01289, allocations: 33.97 kB / 404 MB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.01684, allocations: 5.31 MB / 409.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.01695, allocations: 204.3 kB / 409.5 MB, free: 2.516 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.242e-05/0.01701, allocations: 37.94 kB / 409.6 MB, free: 2.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.0171, allocations: 120.5 kB / 409.7 MB, free: 2.363 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0171, allocations: 0 / 409.7 MB, free: 2.363 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1423/0.1594, allocations: 9.244 MB / 418.9 MB, free: 33.97 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.127/7.286, allocations: 5.609 kB / 418.9 MB, free: 33.97 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.VoltageRegulation1_res.csv --start-time 0 --stop-time 350 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.14 PowerSysPro_PowerSysPro_Tests_VoltageRegulation1.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.065853917971253] Failed to read output from testmodel.py, exit status != 0: 7.372854983434081 7.38410036 7.378343859 Calling exit ...