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.001399/0.001399, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.445/1.445, allocations: 230.6 MB / 252.7 MB, free: 8.312 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.001697/0.001697, allocations: 227.2 kB / 309.2 MB, free: 3.148 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.4618/0.4618, allocations: 79.74 MB / 445.4 MB, free: 14.87 MB / 318.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",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.002549/0.002549, allocations: 87.88 kB / 0.5929 GB, free: 14.01 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1263, allocations: 73.29 MB / 0.6645 GB, free: 4.613 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004988/0.1313, allocations: 3.703 MB / 0.6681 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.1336, allocations: 1.142 MB / 0.6692 GB, free: 15.74 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000368/0.134, allocations: 15.94 kB / 0.6692 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.1344, allocations: 127 kB / 0.6693 GB, free: 15.6 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000544/0.1349, allocations: 202.5 kB / 0.6695 GB, free: 15.4 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.1361, allocations: 488.9 kB / 0.67 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009368/0.1371, allocations: 0.6458 MB / 0.6706 GB, free: 14.28 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.1373, allocations: 114.6 kB / 0.6707 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/0.1377, allocations: 278.8 kB / 0.671 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.1382, allocations: 314.5 kB / 0.6713 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.934e-05/0.1383, allocations: 44 kB / 0.6714 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.1386, allocations: 108 kB / 0.6715 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1387, allocations: 119.4 kB / 0.6716 GB, free: 13.31 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.139, allocations: 286.3 kB / 0.6718 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009263/0.1399, allocations: 0.7118 MB / 0.6725 GB, free: 12.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1399, allocations: 0 / 0.6725 GB, free: 12.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1399, allocations: 0 / 0.6725 GB, free: 12.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.1399, allocations: 4 kB / 0.6725 GB, free: 12.31 MB / 478.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.00352/0.1434, allocations: 1.18 MB / 0.6737 GB, free: 11.1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1435, allocations: 15.98 kB / 0.6737 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.1436, allocations: 82.7 kB / 0.6738 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.1454, allocations: 292.3 kB / 0.6741 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007387/0.1461, allocations: 374.9 kB / 0.6744 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.1464, allocations: 274.5 kB / 0.6747 GB, free: 9.996 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.248e-05/0.1465, allocations: 43.98 kB / 0.6747 GB, free: 9.953 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.1476, allocations: 0.5447 MB / 0.6753 GB, free: 9.402 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1476, allocations: 7.984 kB / 0.6753 GB, free: 9.395 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.1477, allocations: 16 kB / 0.6753 GB, free: 9.379 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.1477, allocations: 12 kB / 0.6753 GB, free: 9.367 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.1487, allocations: 487.1 kB / 0.6758 GB, free: 8.891 MB / 478.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.003178/0.1519, allocations: 2.051 MB / 0.6778 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.1629, allocations: 2.022 MB / 0.6797 GB, free: 4.598 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006262/0.1636, allocations: 251.5 kB / 0.68 GB, free: 4.348 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.569e-05/0.1636, allocations: 4 kB / 0.68 GB, free: 4.344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008057/0.1644, allocations: 371.8 kB / 0.6803 GB, free: 3.961 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.555e-06/0.1644, allocations: 0 / 0.6803 GB, free: 3.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.006887/0.1713, allocations: 1.892 MB / 0.6822 GB, free: 2.051 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.1714, allocations: 85.11 kB / 0.6823 GB, free: 1.949 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/0.172, allocations: 413.9 kB / 0.6827 GB, free: 1.531 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.736e-05/0.172, allocations: 33.7 kB / 0.6827 GB, free: 1.492 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.1723, allocations: 288.5 kB / 0.683 GB, free: 1.207 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.1725, allocations: 146.7 kB / 0.6831 GB, free: 1.062 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.1726, allocations: 66.14 kB / 0.6832 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1728, allocations: 366.7 kB / 0.6835 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006042/0.1734, allocations: 252.7 kB / 0.6838 GB, free: 388 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006374/0.174, allocations: 306.8 kB / 0.6841 GB, free: 68 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.1752, allocations: 0.546 MB / 0.6846 GB, free: 15.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1752, allocations: 0 / 0.6846 GB, free: 15.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004268/0.1795, allocations: 1.335 MB / 0.6859 GB, free: 14.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1795, allocations: 8 kB / 0.6859 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.1795, allocations: 4 kB / 0.6859 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/0.1822, allocations: 0.7095 MB / 0.6866 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.1825, allocations: 51.91 kB / 0.6866 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007629/0.1901, allocations: 4.461 MB / 0.691 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000604/0.1907, allocations: 59.8 kB / 0.6911 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/0.1908, allocations: 15.98 kB / 0.6911 GB, free: 8.613 MB / 494.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.0002877/0.1911, allocations: 165.8 kB / 0.6912 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.1912, allocations: 51.67 kB / 0.6913 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/0.1953, allocations: 1.317 MB / 0.6926 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.1953, allocations: 4 kB / 0.6926 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1954, allocations: 4 kB / 0.6926 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.1954, allocations: 3.984 kB / 0.6926 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008609/0.1962, allocations: 0.5976 MB / 0.6932 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1962, allocations: 0 / 0.6932 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.1964, allocations: 31.92 kB / 0.6932 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002546/0.1989, allocations: 0.7135 MB / 0.6939 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/0.199, allocations: 8 kB / 0.6939 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0074/0.2064, allocations: 4.415 MB / 0.6982 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2064, allocations: 3.984 kB / 0.6982 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2388/0.4452, allocations: 1.314 MB / 0.6995 GB, free: 34.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.4453, allocations: 57.89 kB / 0.6995 GB, free: 34.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.96e-05/0.4454, allocations: 9.906 kB / 0.6996 GB, free: 34.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.4459, allocations: 42.23 kB / 0.6996 GB, free: 34.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/0.4461, allocations: 112.2 kB / 0.6997 GB, free: 34.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.4462, allocations: 10.34 kB / 0.6997 GB, free: 34.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002774/0.4464, allocations: 294.8 kB / 0.7 GB, free: 34.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4464, allocations: 0 / 0.7 GB, free: 34.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005566/0.447, allocations: 182.7 kB / 0.7002 GB, free: 34.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.003978/0.451, allocations: 1.848 MB / 0.702 GB, free: 34.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002797/0.4538, allocations: 1.095 MB / 0.703 GB, free: 33.92 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4538, allocations: 0 / 0.703 GB, free: 33.92 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002081/0.4558, allocations: 0.827 MB / 0.7039 GB, free: 33.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.4562, allocations: 44.31 kB / 0.7039 GB, free: 33.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.4687, allocations: 5.918 MB / 0.7097 GB, free: 32.11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.469, allocations: 0.8618 MB / 0.7105 GB, free: 31.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.4692, allocations: 38.08 kB / 0.7106 GB, free: 31.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.4694, allocations: 189.1 kB / 0.7107 GB, free: 31.39 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4694, allocations: 0 / 0.7107 GB, free: 31.39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04897/0.5184, allocations: 14.81 MB / 0.7252 GB, free: 27.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.48, allocations: 6.234 kB / 0.7252 GB, free: 27.23 MB / 494.1 MB " [Timeout remaining time 645] (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.63687768392265] Failed to read output from testmodel.py, exit status != 0: 14.601706644054502 14.621959705 14.478319137 Calling exit ...