Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDeadBand.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.001418/0.001418, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001506/0.001506, allocations: 215.3 kB / 23.04 MB, free: 5.074 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.752/1.752, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07057/0.07057, allocations: 14.4 MB / 300.5 MB, free: 7.52 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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: "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDeadBand",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDeadBand",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 71.03 kB / 421.4 MB, free: 39.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1103, allocations: 52.91 MB / 474.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002408/0.1127, allocations: 0.6792 MB / 475 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002824/0.1129, allocations: 67.73 kB / 475 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.113, allocations: 8 kB / 475.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.113, allocations: 3.938 kB / 475.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.951e-05/0.1131, allocations: 0 / 475.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.1133, allocations: 27.91 kB / 475.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.1134, allocations: 19.98 kB / 475.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1135, allocations: 11.92 kB / 475.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.1135, allocations: 8 kB / 475.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.1136, allocations: 15.92 kB / 475.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.1136, allocations: 4 kB / 475.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.1136, allocations: 0 / 475.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.1136, allocations: 8 kB / 475.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.1137, allocations: 15.92 kB / 475.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.53e-05/0.1138, allocations: 23.84 kB / 475.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1138, allocations: 0 / 475.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1138, allocations: 0 / 475.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1138, allocations: 0 / 475.2 MB, free: 1.418 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004267/0.1142, allocations: 258.3 kB / 475.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1142, allocations: 12.03 kB / 475.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.943e-05/0.1143, allocations: 4.188 kB / 475.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.1143, allocations: 34.75 kB / 475.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.1143, allocations: 4.938 kB / 475.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1145, allocations: 114.5 kB / 475.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1145, allocations: 384 / 475.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.1145, allocations: 4.375 kB / 475.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.1148, allocations: 72.56 kB / 475.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1148, allocations: 4 kB / 475.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1148, allocations: 0 / 475.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1148, allocations: 4 kB / 475.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.115, allocations: 39.89 kB / 475.7 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.1154, allocations: 236.9 kB / 476 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1156, allocations: 79.33 kB / 476 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.1157, allocations: 29.75 kB / 476.1 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.1157, allocations: 4 kB / 476.1 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1157, allocations: 38.56 kB / 476.1 MB, free: 348 kB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.1157, allocations: 3.938 kB / 476.1 MB, free: 344 kB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004062/0.1161, allocations: 93.53 kB / 476.2 MB, free: 244 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/0.1162, allocations: 106.8 kB / 476.3 MB, free: 112 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.1163, allocations: 102.1 kB / 476.4 MB, free: 0 / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.1163, allocations: 25.7 kB / 476.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.1164, allocations: 80.14 kB / 476.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.1164, allocations: 11.88 kB / 476.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.1165, allocations: 17.72 kB / 476.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1166, allocations: 310.8 kB / 476.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-05/0.1167, allocations: 24.84 kB / 476.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1168, allocations: 46.48 kB / 476.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.117, allocations: 49.62 kB / 477 MB, free: 15.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.117, allocations: 0 / 477 MB, free: 15.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002371/0.1172, allocations: 77.62 kB / 477 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1172, allocations: 4 kB / 477 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1172, allocations: 0 / 477 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1172, allocations: 0 / 477 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.876e-05/0.1173, allocations: 11.98 kB / 477.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.1173, allocations: 7.984 kB / 477.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.1174, allocations: 11.95 kB / 477.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1174, allocations: 4.062 kB / 477.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.365e-05/0.1175, allocations: 88.12 kB / 477.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.846e-05/0.1176, allocations: 30.84 kB / 477.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.353e-05/0.1176, allocations: 29.66 kB / 477.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.1176, allocations: 0 / 477.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001425/0.1178, allocations: 57.66 kB / 477.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1178, allocations: 7.984 kB / 477.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-06/0.1178, allocations: 0 / 477.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-06/0.1178, allocations: 96 / 477.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.068e-05/0.1178, allocations: 11.94 kB / 477.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.1178, allocations: 0 / 477.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.1179, allocations: 7.984 kB / 477.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.1179, allocations: 4 kB / 477.3 MB, free: 15.02 MB / 350.1 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 (3): * Single equations (assignments): 3 * 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 0.0001624/0.1181, allocations: 192.2 kB / 477.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.1181, allocations: 0 / 477.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.1181, allocations: 11.27 kB / 477.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1181, allocations: 7.938 kB / 477.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1181, allocations: 0 / 477.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1181, allocations: 3.938 kB / 477.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1183, allocations: 140.7 kB / 477.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1183, allocations: 0 / 477.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.1184, allocations: 8 kB / 477.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1184, allocations: 0 / 477.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1184, allocations: 4 kB / 477.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1184, allocations: 0 / 477.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1184, allocations: 3.984 kB / 477.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.1187, allocations: 180.2 kB / 477.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.1187, allocations: 8 kB / 477.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1187, allocations: 4 kB / 477.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.349e-05/0.1188, allocations: 4 kB / 477.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.1188, allocations: 7.984 kB / 477.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.1188, allocations: 0 / 477.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.026e-05/0.1189, allocations: 83.28 kB / 478 MB, free: 14.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1189, allocations: 0 / 478 MB, free: 14.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1192, allocations: 8 kB / 478 MB, free: 14.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0006193/0.1198, allocations: 0.7054 MB / 478.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.1201, allocations: 59.95 kB / 478.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.1201, allocations: 0 / 478.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.576e-05/0.1202, allocations: 19.98 kB / 478.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.1204, allocations: 4 kB / 478.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1222, allocations: 1.275 MB / 480 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.1226, allocations: 0.6806 MB / 480.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.082e-05/0.1226, allocations: 4 kB / 480.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.1227, allocations: 15.44 kB / 480.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of SimCode: time 1.853e-06/0.1227, allocations: 0 / 480.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.1475, allocations: 1.639 MB / 482.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.23, allocations: 4 kB / 482.4 MB, free: 9.777 MB / 350.1 MB " [Timeout remaining time 648] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Controls.Test.TestDeadBand_res.mat --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestDeadBand_fmu --startTime=0 --stopTime=4 --stepSize=0.05 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDeadBand.fmu > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.363278235017788] Failed to read output from testmodel.py, exit status != 0: 12.39424982300261 12.419818582 12.30148898 Calling exit ...