Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.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.001329/0.001329, 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/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 1.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 14.29 MB / 206.1 MB " [Timeout remaining time 178] 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.001575/0.001575, allocations: 206.3 kB / 310 MB, free: 3.02 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5333/0.5333, allocations: 79.74 MB / 446.2 MB, free: 40.3 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 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.002414/0.002414, allocations: 80.41 kB / 0.5936 GB, free: 38.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1249, allocations: 73.3 MB / 0.6652 GB, free: 384 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004663/0.1296, allocations: 3.329 MB / 0.6684 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.1317, allocations: 1.075 MB / 0.6695 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.1319, allocations: 14.31 kB / 0.6695 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.1323, allocations: 122.3 kB / 0.6696 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.1327, allocations: 210.1 kB / 0.6698 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1338, allocations: 463.6 kB / 0.6702 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006865/0.1345, allocations: 0.6398 MB / 0.6709 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.1347, allocations: 118.6 kB / 0.671 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003055/0.135, allocations: 282.8 kB / 0.6712 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.1355, allocations: 322.4 kB / 0.6716 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.549e-05/0.1355, allocations: 44 kB / 0.6716 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.1358, allocations: 104 kB / 0.6717 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1359, allocations: 111.5 kB / 0.6718 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.1361, allocations: 226.7 kB / 0.672 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008922/0.137, allocations: 0.7235 MB / 0.6727 GB, free: 10.03 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.137, allocations: 4 kB / 0.6727 GB, free: 10.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.137, allocations: 0 / 0.6727 GB, free: 10.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.137, allocations: 4 kB / 0.6727 GB, free: 10.02 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003421/0.1404, allocations: 1.176 MB / 0.6739 GB, free: 8.809 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1405, allocations: 12.03 kB / 0.6739 GB, free: 8.797 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.263e-05/0.1405, allocations: 13.12 kB / 0.6739 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.1406, allocations: 90.66 kB / 0.674 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.1424, allocations: 292.3 kB / 0.6743 GB, free: 8.402 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.143, allocations: 378.7 kB / 0.6746 GB, free: 8.004 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.1433, allocations: 274.5 kB / 0.6749 GB, free: 7.688 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.1434, allocations: 40 kB / 0.6749 GB, free: 7.648 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.1446, allocations: 0.5564 MB / 0.6755 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1446, allocations: 0 / 0.6755 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/0.1446, allocations: 16 kB / 0.6755 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.1446, allocations: 12 kB / 0.6755 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.1457, allocations: 479.2 kB / 0.676 GB, free: 6.586 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.1483, allocations: 1.281 MB / 0.6772 GB, free: 5.254 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.1592, allocations: 2.014 MB / 0.6792 GB, free: 3.219 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006585/0.1599, allocations: 249.6 kB / 0.6794 GB, free: 2.969 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.086e-05/0.16, allocations: 19.92 kB / 0.6794 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008342/0.1608, allocations: 359.8 kB / 0.6798 GB, free: 2.578 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 3.367e-06/0.1608, allocations: 0 / 0.6798 GB, free: 2.578 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.006936/0.1677, allocations: 1.9 MB / 0.6816 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.624e-05/0.1678, allocations: 81.11 kB / 0.6817 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005783/0.1684, allocations: 421.9 kB / 0.6821 GB, free: 148 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.1685, allocations: 29.7 kB / 0.6821 GB, free: 112 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.1687, allocations: 280.6 kB / 0.6824 GB, free: 15.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.1689, allocations: 146.7 kB / 0.6825 GB, free: 15.69 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.1691, allocations: 66.14 kB / 0.6826 GB, free: 15.62 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.1693, allocations: 362.8 kB / 0.683 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005979/0.1699, allocations: 260.7 kB / 0.6832 GB, free: 15 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.1705, allocations: 302.7 kB / 0.6835 GB, free: 14.69 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.1716, allocations: 0.5488 MB / 0.684 GB, free: 14.14 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1716, allocations: 0 / 0.684 GB, free: 14.14 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004063/0.1757, allocations: 1.338 MB / 0.6853 GB, free: 12.78 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1757, allocations: 4 kB / 0.6853 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1757, allocations: 0 / 0.6853 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/0.1783, allocations: 0.7096 MB / 0.686 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.1786, allocations: 47.91 kB / 0.6861 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007384/0.186, allocations: 4.409 MB / 0.6904 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005277/0.1865, allocations: 63.8 kB / 0.6904 GB, free: 7.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.1866, allocations: 12 kB / 0.6905 GB, free: 7.301 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,breakerPara.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002755/0.1868, allocations: 169.8 kB / 0.6906 GB, free: 7.125 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.1869, allocations: 47.67 kB / 0.6907 GB, free: 7.078 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004164/0.1911, allocations: 1.312 MB / 0.6919 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/0.1911, allocations: 8 kB / 0.692 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1911, allocations: 0 / 0.692 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.1911, allocations: 7.922 kB / 0.692 GB, free: 5.727 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007409/0.1919, allocations: 492.2 kB / 0.6924 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1919, allocations: 4 kB / 0.6924 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.192, allocations: 27.92 kB / 0.6925 GB, free: 5.172 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002521/0.1945, allocations: 0.7061 MB / 0.6931 GB, free: 4.453 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.1946, allocations: 11.94 kB / 0.6932 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007012/0.2016, allocations: 4.356 MB / 0.6974 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2016, allocations: 3.938 kB / 0.6974 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/0.2057, allocations: 1.314 MB / 0.6987 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.2059, allocations: 63.53 kB / 0.6988 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/0.2059, allocations: 4 kB / 0.6988 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.2064, allocations: 43.94 kB / 0.6988 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/0.2067, allocations: 107.8 kB / 0.6989 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.2067, allocations: 8 kB / 0.6989 GB, free: 14.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003654/0.2071, allocations: 295.1 kB / 0.6992 GB, free: 13.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2071, allocations: 0 / 0.6992 GB, free: 13.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006569/0.2077, allocations: 187.7 kB / 0.6994 GB, free: 13.81 MB / 494.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: 4 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart,breakerPara.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004437/0.2122, allocations: 1.848 MB / 0.7012 GB, free: 11.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003194/0.2154, allocations: 1.108 MB / 0.7023 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2154, allocations: 0 / 0.7023 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.2177, allocations: 0.8214 MB / 0.7031 GB, free: 9.926 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.2182, allocations: 45.17 kB / 0.7031 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.2315, allocations: 5.934 MB / 0.7089 GB, free: 3.832 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.2318, allocations: 262.9 kB / 0.7092 GB, free: 3.547 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.2319, allocations: 31.27 kB / 0.7092 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.2322, allocations: 187.4 kB / 0.7094 GB, free: 3.34 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.2322, allocations: 0 / 0.7094 GB, free: 3.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04615/0.2784, allocations: 15.07 MB / 0.7241 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.12, allocations: 11.98 kB / 0.7241 GB, free: 4.41 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.683988887933083] Failed to read output from testmodel.py, exit status != 0: 14.311334699043073 14.337264845 14.19540879 Calling exit ...