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.00186/0.00186, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002468/0.002468, allocations: 213.9 kB / 23.03 MB, free: 4.926 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.536/1.536, allocations: 207.7 MB / 233.9 MB, free: 9.797 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.07028/0.07028, allocations: 14.39 MB / 300.5 MB, free: 7.25 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.002308/0.002308, allocations: 63.91 kB / 421.4 MB, free: 39.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.117, allocations: 52.9 MB / 474.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002309/0.1193, allocations: 0.6714 MB / 475 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002681/0.1196, allocations: 59.81 kB / 475 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.1196, allocations: 0 / 475 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.1196, allocations: 0 / 475 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.1197, allocations: 11.92 kB / 475 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.1199, allocations: 19.98 kB / 475.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.12, allocations: 31.91 kB / 475.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1201, allocations: 0 / 475.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.1202, allocations: 11.94 kB / 475.1 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.1202, allocations: 15.92 kB / 475.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1203, allocations: 4 kB / 475.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.1203, allocations: 4 kB / 475.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.1203, allocations: 11.92 kB / 475.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.1203, allocations: 4 kB / 475.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.864e-05/0.1204, allocations: 31.83 kB / 475.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1204, allocations: 7.938 kB / 475.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1204, allocations: 0 / 475.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1204, allocations: 0 / 475.2 MB, free: 1.223 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.0004632/0.1209, allocations: 254.4 kB / 475.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1209, allocations: 8.031 kB / 475.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.721e-05/0.1209, allocations: 8.188 kB / 475.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.121, allocations: 30.75 kB / 475.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.121, allocations: 0.9375 kB / 475.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.1212, allocations: 118.5 kB / 475.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.1212, allocations: 4.375 kB / 475.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1212, allocations: 8.312 kB / 475.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.1214, allocations: 110.2 kB / 475.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.1214, allocations: 0 / 475.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1215, allocations: 0 / 475.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1215, allocations: 0 / 475.7 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.1216, allocations: 35.97 kB / 475.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.122, allocations: 240.9 kB / 476 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.1222, allocations: 65.12 kB / 476 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.1223, allocations: 32 kB / 476.1 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.1223, allocations: 4 kB / 476.1 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.1224, allocations: 30.56 kB / 476.1 MB, free: 132 kB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1224, allocations: 0 / 476.1 MB, free: 132 kB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000383/0.1228, allocations: 101.5 kB / 476.2 MB, free: 24 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.863e-05/0.1229, allocations: 106.8 kB / 476.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.1229, allocations: 101.8 kB / 476.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.123, allocations: 25.7 kB / 476.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.123, allocations: 84.14 kB / 476.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.123, allocations: 11.89 kB / 476.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.1231, allocations: 13.72 kB / 476.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1232, allocations: 315.1 kB / 476.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.725e-05/0.1233, allocations: 28.83 kB / 476.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1234, allocations: 60.27 kB / 476.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1236, allocations: 49.62 kB / 477 MB, free: 15.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1236, allocations: 0 / 477 MB, free: 15.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002068/0.1238, allocations: 81.62 kB / 477.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1238, allocations: 4 kB / 477.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1238, allocations: 3.984 kB / 477.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1239, allocations: 4 kB / 477.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.1239, allocations: 11.98 kB / 477.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.124, allocations: 3.938 kB / 477.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.124, allocations: 11.94 kB / 477.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.124, allocations: 4.062 kB / 477.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.922e-05/0.1241, allocations: 92.14 kB / 477.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.338e-05/0.1242, allocations: 52.2 kB / 477.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.3e-05/0.1243, allocations: 33.64 kB / 477.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.31e-07/0.1243, allocations: 0 / 477.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001447/0.1244, allocations: 57.56 kB / 477.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.1244, allocations: 8.094 kB / 477.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1244, allocations: 4 kB / 477.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-06/0.1244, allocations: 0 / 477.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.67e-05/0.1245, allocations: 4 kB / 477.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-06/0.1245, allocations: 0 / 477.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.1245, allocations: 7.984 kB / 477.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.1245, allocations: 4 kB / 477.4 MB, free: 14.74 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.000117/0.1246, allocations: 184.2 kB / 477.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.1246, allocations: 4.375 kB / 477.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.1247, allocations: 7.266 kB / 477.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1247, allocations: 4 kB / 477.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1247, allocations: 4 kB / 477.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1247, allocations: 3.984 kB / 477.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1248, allocations: 132.7 kB / 477.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1248, allocations: 0 / 477.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-05/0.1249, allocations: 15.92 kB / 477.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1249, allocations: 0 / 477.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1249, allocations: 8 kB / 477.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1249, allocations: 0 / 477.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1249, allocations: 0 / 477.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1252, allocations: 180.3 kB / 477.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.1252, allocations: 4 kB / 477.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.1252, allocations: 0 / 477.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.1253, allocations: 7.984 kB / 477.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.1254, allocations: 7.984 kB / 477.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1254, allocations: 0 / 477.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.782e-05/0.1254, allocations: 87.22 kB / 478 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1254, allocations: 0 / 478 MB, free: 14.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1257, allocations: 12 kB / 478 MB, free: 14.02 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.0005748/0.1263, allocations: 0.6976 MB / 478.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.1265, allocations: 51.89 kB / 478.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1265, allocations: 256 / 478.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1266, allocations: 43.78 kB / 478.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.1269, allocations: 0 / 478.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1285, allocations: 1.283 MB / 480.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.242e-05/0.1285, allocations: 63.34 kB / 480.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.912e-05/0.1286, allocations: 7.984 kB / 480.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.1286, allocations: 11.44 kB / 480.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1286, allocations: 0 / 480.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.1522, allocations: 1.693 MB / 481.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.31, allocations: 11.94 kB / 481.9 MB, free: 10.05 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.255700618959963] Failed to read output from testmodel.py, exit status != 0: 12.463517960044555 12.480110151 12.356571231 Calling exit ...