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.001645/0.001645, allocations: 109.2 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.472/1.472, allocations: 230.6 MB / 252.6 MB, free: 8.297 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.001586/0.001586, allocations: 218.5 kB / 309.2 MB, free: 3.152 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.4413/0.4413, allocations: 79.73 MB / 445.4 MB, free: 15.3 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.002574/0.002574, allocations: 79.88 kB / 0.5929 GB, free: 14.17 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1324, allocations: 73.3 MB / 0.6645 GB, free: 4.777 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004971/0.1374, allocations: 3.709 MB / 0.6681 GB, free: 1.047 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.1396, allocations: 1.138 MB / 0.6692 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.1398, allocations: 11.94 kB / 0.6692 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.1401, allocations: 135 kB / 0.6694 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.1406, allocations: 206.5 kB / 0.6696 GB, free: 15.56 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.1417, allocations: 477.3 kB / 0.67 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007037/0.1424, allocations: 0.6497 MB / 0.6706 GB, free: 14.44 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.1426, allocations: 110.4 kB / 0.6707 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.1429, allocations: 282.8 kB / 0.671 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.1433, allocations: 310.5 kB / 0.6713 GB, free: 13.75 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.885e-05/0.1434, allocations: 44 kB / 0.6714 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.1436, allocations: 112 kB / 0.6715 GB, free: 13.59 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1437, allocations: 123.3 kB / 0.6716 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.144, allocations: 282.3 kB / 0.6718 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000865/0.1449, allocations: 0.7121 MB / 0.6725 GB, free: 12.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1449, allocations: 0 / 0.6725 GB, free: 12.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1449, allocations: 3.938 kB / 0.6725 GB, free: 12.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1449, allocations: 0 / 0.6725 GB, free: 12.48 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.003447/0.1483, allocations: 1.184 MB / 0.6737 GB, free: 11.26 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1484, allocations: 15.98 kB / 0.6737 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.1485, allocations: 86.7 kB / 0.6738 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.1502, allocations: 288.3 kB / 0.6741 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007282/0.1509, allocations: 378.9 kB / 0.6744 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.1512, allocations: 278.5 kB / 0.6747 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.1513, allocations: 36 kB / 0.6747 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.1524, allocations: 0.5564 MB / 0.6753 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1524, allocations: 0 / 0.6753 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.1525, allocations: 20 kB / 0.6753 GB, free: 9.531 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.1525, allocations: 12 kB / 0.6753 GB, free: 9.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.1536, allocations: 479.2 kB / 0.6758 GB, free: 9.051 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.003058/0.1566, allocations: 2.047 MB / 0.6778 GB, free: 6.805 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/0.1677, allocations: 2.018 MB / 0.6797 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.1685, allocations: 255.5 kB / 0.68 GB, free: 4.512 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.62e-05/0.1685, allocations: 7.984 kB / 0.68 GB, free: 4.504 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008248/0.1693, allocations: 355.9 kB / 0.6803 GB, free: 4.137 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.555e-06/0.1693, allocations: 4 kB / 0.6803 GB, free: 4.133 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.007088/0.1764, allocations: 1.889 MB / 0.6822 GB, free: 2.223 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.1765, allocations: 81.11 kB / 0.6823 GB, free: 2.125 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/0.1771, allocations: 425.8 kB / 0.6827 GB, free: 1.695 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.1772, allocations: 29.7 kB / 0.6827 GB, free: 1.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.1774, allocations: 288.5 kB / 0.683 GB, free: 1.375 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.1776, allocations: 146.7 kB / 0.6831 GB, free: 1.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.1777, allocations: 74.14 kB / 0.6832 GB, free: 1.152 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1779, allocations: 358.8 kB / 0.6835 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.1785, allocations: 256.7 kB / 0.6838 GB, free: 0.543 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006611/0.1792, allocations: 306.8 kB / 0.6841 GB, free: 236 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.1805, allocations: 0.5459 MB / 0.6846 GB, free: 15.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1805, allocations: 7.938 kB / 0.6846 GB, free: 15.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004284/0.1847, allocations: 1.331 MB / 0.6859 GB, free: 14.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1848, allocations: 4 kB / 0.6859 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.1848, allocations: 7.938 kB / 0.6859 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00268/0.1875, allocations: 0.7097 MB / 0.6866 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.1877, allocations: 43.91 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007714/0.1955, allocations: 4.453 MB / 0.691 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/0.1961, allocations: 68.05 kB / 0.6911 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.1961, allocations: 19.98 kB / 0.6911 GB, free: 8.777 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.0002937/0.1964, allocations: 161.8 kB / 0.6912 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.092e-05/0.1965, allocations: 55.67 kB / 0.6913 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/0.2008, allocations: 1.321 MB / 0.6926 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.2008, allocations: 4 kB / 0.6926 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2008, allocations: 0 / 0.6926 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.2008, allocations: 7.984 kB / 0.6926 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008462/0.2016, allocations: 0.5975 MB / 0.6932 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2016, allocations: 0 / 0.6932 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.2018, allocations: 27.98 kB / 0.6932 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002582/0.2044, allocations: 0.7096 MB / 0.6939 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.2044, allocations: 4 kB / 0.6939 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007385/0.2118, allocations: 4.423 MB / 0.6982 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2118, allocations: 0 / 0.6982 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2334/0.4452, allocations: 1.317 MB / 0.6995 GB, free: 34.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.4454, allocations: 54.52 kB / 0.6995 GB, free: 34.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.4455, allocations: 8.672 kB / 0.6996 GB, free: 34.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004164/0.4459, allocations: 45.89 kB / 0.6996 GB, free: 34.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/0.4462, allocations: 112.9 kB / 0.6997 GB, free: 34.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.4462, allocations: 9.844 kB / 0.6997 GB, free: 34.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002771/0.4465, allocations: 289.9 kB / 0.7 GB, free: 34.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4465, allocations: 3.625 kB / 0.7 GB, free: 34.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000556/0.447, allocations: 183.4 kB / 0.7002 GB, free: 34.89 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.00399/0.451, allocations: 1.846 MB / 0.702 GB, free: 34.26 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002866/0.4539, allocations: 1.1 MB / 0.703 GB, free: 34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4539, allocations: 1.375 kB / 0.703 GB, free: 34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002103/0.456, allocations: 0.822 MB / 0.7039 GB, free: 33.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.4564, allocations: 47.2 kB / 0.7039 GB, free: 33.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.4692, allocations: 5.924 MB / 0.7097 GB, free: 32.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.4695, allocations: 0.8587 MB / 0.7105 GB, free: 31.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000136/0.4696, allocations: 37.48 kB / 0.7106 GB, free: 31.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.4698, allocations: 187.7 kB / 0.7107 GB, free: 31.47 MB / 494.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4698, allocations: 0 / 0.7107 GB, free: 31.47 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04845/0.5182, allocations: 14.82 MB / 0.7252 GB, free: 27.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.04, allocations: 3.984 kB / 0.7252 GB, free: 27.43 MB / 494.1 MB " [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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Events.TestBreaker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 OpenIPSL_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.250040129001718] Failed to read output from testmodel.py, exit status != 0: 14.166189472998667 14.176171011 14.029182962 Calling exit ...