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.001367/0.001367, 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/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.4 MB, free: 14.41 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.001883/0.001883, allocations: 210.5 kB / 310 MB, free: 3.094 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.5026/0.5026, allocations: 79.73 MB / 446.2 MB, free: 39.23 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.002594/0.002594, allocations: 87 kB / 0.5937 GB, free: 38.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1267, allocations: 73.3 MB / 0.6652 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004709/0.1314, allocations: 3.704 MB / 0.6689 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.134, allocations: 1.144 MB / 0.67 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000508/0.1345, allocations: 10.81 kB / 0.67 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000462/0.135, allocations: 126.2 kB / 0.6701 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006351/0.1356, allocations: 206.9 kB / 0.6703 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.1369, allocations: 489 kB / 0.6708 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1379, allocations: 0.6485 MB / 0.6714 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.1382, allocations: 104.2 kB / 0.6715 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.1386, allocations: 291 kB / 0.6718 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004815/0.1391, allocations: 306.5 kB / 0.6721 GB, free: 11.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.772e-05/0.1392, allocations: 48 kB / 0.6721 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.1394, allocations: 111.9 kB / 0.6722 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.1395, allocations: 115.5 kB / 0.6723 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002687/0.1398, allocations: 286.2 kB / 0.6726 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009997/0.1408, allocations: 0.7157 MB / 0.6733 GB, free: 10.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1408, allocations: 0 / 0.6733 GB, free: 10.04 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1408, allocations: 0 / 0.6733 GB, free: 10.04 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.1408, allocations: 0 / 0.6733 GB, free: 10.04 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.003693/0.1445, allocations: 1.18 MB / 0.6745 GB, free: 8.824 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.1446, allocations: 12.03 kB / 0.6745 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.894e-05/0.1446, allocations: 13.19 kB / 0.6745 GB, free: 8.801 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.1447, allocations: 82.72 kB / 0.6746 GB, free: 8.711 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.1465, allocations: 296.2 kB / 0.6748 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008018/0.1473, allocations: 378.7 kB / 0.6752 GB, free: 8.023 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/0.1475, allocations: 266.6 kB / 0.6755 GB, free: 7.715 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/0.1476, allocations: 44 kB / 0.6755 GB, free: 7.672 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.1488, allocations: 0.5525 MB / 0.676 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1488, allocations: 0 / 0.676 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.1488, allocations: 20 kB / 0.6761 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1489, allocations: 12 kB / 0.6761 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.1499, allocations: 483.2 kB / 0.6765 GB, free: 6.605 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.003168/0.1531, allocations: 2.043 MB / 0.6785 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.1643, allocations: 2.024 MB / 0.6805 GB, free: 2.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007292/0.165, allocations: 257.6 kB / 0.6808 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.745e-05/0.1651, allocations: 4 kB / 0.6808 GB, free: 2.059 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008357/0.1659, allocations: 367.8 kB / 0.6811 GB, free: 1.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.294e-06/0.1659, allocations: 0 / 0.6811 GB, free: 1.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.007134/0.173, allocations: 1.902 MB / 0.683 GB, free: 15.76 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.1731, allocations: 81.11 kB / 0.683 GB, free: 15.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005412/0.1736, allocations: 417.9 kB / 0.6834 GB, free: 15.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.1737, allocations: 33.7 kB / 0.6835 GB, free: 15.21 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.1739, allocations: 276.5 kB / 0.6837 GB, free: 14.93 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.1741, allocations: 142.8 kB / 0.6839 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.1743, allocations: 74.12 kB / 0.6839 GB, free: 14.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1744, allocations: 362.8 kB / 0.6843 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/0.175, allocations: 264.7 kB / 0.6845 GB, free: 14.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.1757, allocations: 298.8 kB / 0.6848 GB, free: 13.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.1769, allocations: 0.5502 MB / 0.6854 GB, free: 13.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1769, allocations: 0 / 0.6854 GB, free: 13.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004354/0.1812, allocations: 1.334 MB / 0.6867 GB, free: 11.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.1813, allocations: 8 kB / 0.6867 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1813, allocations: 0 / 0.6867 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002707/0.184, allocations: 0.7058 MB / 0.6874 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.1843, allocations: 51.8 kB / 0.6874 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007756/0.192, allocations: 4.466 MB / 0.6918 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006605/0.1927, allocations: 71.8 kB / 0.6918 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.1927, allocations: 8 kB / 0.6918 GB, free: 6.332 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.0003112/0.193, allocations: 169.8 kB / 0.692 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-05/0.1931, allocations: 51.67 kB / 0.6921 GB, free: 6.105 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004353/0.1975, allocations: 1.312 MB / 0.6933 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.1975, allocations: 4 kB / 0.6933 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.1975, allocations: 4 kB / 0.6933 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.1975, allocations: 7.922 kB / 0.6934 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009343/0.1985, allocations: 0.5937 MB / 0.6939 GB, free: 4.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.1985, allocations: 0 / 0.6939 GB, free: 4.117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.1987, allocations: 35.92 kB / 0.694 GB, free: 4.082 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002703/0.2014, allocations: 0.698 MB / 0.6947 GB, free: 3.371 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.886e-05/0.2014, allocations: 12 kB / 0.6947 GB, free: 3.359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00775/0.2092, allocations: 4.416 MB / 0.699 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.2092, allocations: 4.188 kB / 0.699 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004504/0.2137, allocations: 1.317 MB / 0.7003 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.2139, allocations: 63.53 kB / 0.7003 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.214, allocations: 8 kB / 0.7003 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.2145, allocations: 43.94 kB / 0.7004 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003618/0.2149, allocations: 111.7 kB / 0.7005 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/0.2149, allocations: 12 kB / 0.7005 GB, free: 13.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003974/0.2153, allocations: 287.1 kB / 0.7008 GB, free: 12.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2153, allocations: 4 kB / 0.7008 GB, free: 12.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007864/0.2161, allocations: 187.8 kB / 0.701 GB, free: 12.66 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.004717/0.2208, allocations: 1.834 MB / 0.7027 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003474/0.2243, allocations: 1.119 MB / 0.7038 GB, free: 9.633 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2243, allocations: 0 / 0.7038 GB, free: 9.633 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002483/0.2268, allocations: 0.8295 MB / 0.7046 GB, free: 8.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.2273, allocations: 37.97 kB / 0.7047 GB, free: 8.734 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/0.2421, allocations: 5.927 MB / 0.7105 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.2427, allocations: 0.8589 MB / 0.7113 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001827/0.2429, allocations: 35.27 kB / 0.7113 GB, free: 1.777 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.2432, allocations: 191.4 kB / 0.7115 GB, free: 1.59 MB / 494.1 MB Notification: Performance of SimCode: time 1.182e-06/0.2432, allocations: 3.938 kB / 0.7115 GB, free: 1.586 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05048/0.2937, allocations: 14.84 MB / 0.726 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/13.8, allocations: 2.922 kB / 0.726 GB, free: 2.863 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.34893940598704] Failed to read output from testmodel.py, exit status != 0: 13.978279785020277 14.004328738 13.858667297 Calling exit ...