Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07639/0.07639, allocations: 12.59 MB / 28.22 MB, free: 0.7734 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 111.4 kB / 31.84 MB, free: 3.902 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 192.4 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4084/0.4084, allocations: 78.51 MB / 419.3 MB, free: 10.75 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003561/0.003561, allocations: 143.7 kB / 0.5553 GB, free: 17.85 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1112, allocations: 68.13 MB / 0.6219 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004514/0.1157, allocations: 3.673 MB / 0.6255 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1175, allocations: 1.142 MB / 0.6266 GB, free: 8.859 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.1177, allocations: 7.938 kB / 0.6266 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.118, allocations: 127 kB / 0.6267 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.1184, allocations: 174.5 kB / 0.6269 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.1194, allocations: 0.514 MB / 0.6274 GB, free: 8.039 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006613/0.1201, allocations: 0.6458 MB / 0.628 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.1204, allocations: 154.1 kB / 0.6281 GB, free: 7.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.1206, allocations: 282.7 kB / 0.6284 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003929/0.121, allocations: 306.5 kB / 0.6287 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/0.1211, allocations: 44 kB / 0.6288 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.1213, allocations: 107.9 kB / 0.6289 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1214, allocations: 119.5 kB / 0.629 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.1217, allocations: 286.2 kB / 0.6292 GB, free: 6.105 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00077/0.1225, allocations: 0.7118 MB / 0.6299 GB, free: 5.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1225, allocations: 8 kB / 0.6299 GB, free: 5.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1225, allocations: 0 / 0.6299 GB, free: 5.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.1225, allocations: 0 / 0.6299 GB, free: 5.383 MB / 446.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.003164/0.1257, allocations: 1.252 MB / 0.6312 GB, free: 4.078 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1257, allocations: 11.98 kB / 0.6312 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.834e-05/0.1258, allocations: 86.66 kB / 0.6313 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.1274, allocations: 296.2 kB / 0.6315 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.1281, allocations: 450.1 kB / 0.632 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.1283, allocations: 189.4 kB / 0.6322 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.1284, allocations: 40 kB / 0.6322 GB, free: 2.949 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.1294, allocations: 0.5603 MB / 0.6327 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1294, allocations: 0 / 0.6327 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.1295, allocations: 16 kB / 0.6328 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1295, allocations: 8 kB / 0.6328 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000975/0.1305, allocations: 483.2 kB / 0.6332 GB, free: 1.883 MB / 446.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.002758/0.1333, allocations: 2.09 MB / 0.6353 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.1441, allocations: 2.053 MB / 0.6373 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/0.1447, allocations: 274.3 kB / 0.6375 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.408e-05/0.1447, allocations: 7.953 kB / 0.6375 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007471/0.1455, allocations: 371.1 kB / 0.6379 GB, free: 12.85 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.623e-06/0.1455, allocations: 0 / 0.6379 GB, free: 12.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.006764/0.1523, allocations: 2.198 MB / 0.64 GB, free: 10.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.1524, allocations: 89.05 kB / 0.6401 GB, free: 10.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004631/0.1528, allocations: 414 kB / 0.6405 GB, free: 10.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.1529, allocations: 33.7 kB / 0.6405 GB, free: 10 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.1531, allocations: 292.5 kB / 0.6408 GB, free: 9.715 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.1532, allocations: 130.8 kB / 0.641 GB, free: 9.586 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.1534, allocations: 74.12 kB / 0.641 GB, free: 9.508 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1536, allocations: 358.8 kB / 0.6414 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006099/0.1542, allocations: 260.7 kB / 0.6416 GB, free: 8.895 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.1548, allocations: 302.7 kB / 0.6419 GB, free: 8.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.156, allocations: 0.5505 MB / 0.6424 GB, free: 8.031 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.156, allocations: 0 / 0.6424 GB, free: 8.031 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004073/0.1601, allocations: 1.343 MB / 0.6438 GB, free: 6.668 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1601, allocations: 7.938 kB / 0.6438 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1602, allocations: 4 kB / 0.6438 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/0.1627, allocations: 0.7057 MB / 0.6445 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.1629, allocations: 47.91 kB / 0.6445 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007198/0.1701, allocations: 4.664 MB / 0.6491 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.1706, allocations: 67.75 kB / 0.6491 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.1707, allocations: 11.98 kB / 0.6491 GB, free: 0.8711 MB / 462.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.0002158/0.1709, allocations: 169.8 kB / 0.6493 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.11e-05/0.171, allocations: 51.67 kB / 0.6493 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004113/0.1751, allocations: 1.32 MB / 0.6506 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1751, allocations: 4 kB / 0.6506 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1751, allocations: 0 / 0.6506 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1751, allocations: 3.984 kB / 0.6506 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.1758, allocations: 0.6337 MB / 0.6513 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1758, allocations: 0 / 0.6513 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.176, allocations: 31.92 kB / 0.6513 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002511/0.1785, allocations: 0.698 MB / 0.652 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.1785, allocations: 8 kB / 0.652 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00703/0.1856, allocations: 4.634 MB / 0.6565 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1856, allocations: 4 kB / 0.6565 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/0.1896, allocations: 1.325 MB / 0.6578 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.1898, allocations: 128.7 kB / 0.6579 GB, free: 7.441 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.1898, allocations: 8 kB / 0.6579 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.1903, allocations: 47.89 kB / 0.658 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/0.1905, allocations: 107.8 kB / 0.6581 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.1906, allocations: 12 kB / 0.6581 GB, free: 7.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003305/0.1909, allocations: 291.1 kB / 0.6584 GB, free: 6.988 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1909, allocations: 3.938 kB / 0.6584 GB, free: 6.984 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005736/0.1915, allocations: 191.7 kB / 0.6586 GB, free: 6.797 MB / 478.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.004341/0.1959, allocations: 1.854 MB / 0.6604 GB, free: 4.898 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003144/0.199, allocations: 1.305 MB / 0.6616 GB, free: 3.523 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.199, allocations: 0 / 0.6616 GB, free: 3.523 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002334/0.2014, allocations: 0.9912 MB / 0.6626 GB, free: 2.465 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.2017, allocations: 41.97 kB / 0.6626 GB, free: 2.422 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.2147, allocations: 5.935 MB / 0.6684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.2153, allocations: 0.8706 MB / 0.6693 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.2155, allocations: 31.28 kB / 0.6693 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.2157, allocations: 187.4 kB / 0.6695 GB, free: 11.25 MB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2157, allocations: 0 / 0.6695 GB, free: 11.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2609/0.4767, allocations: 14.28 MB / 0.6834 GB, free: 56.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.02, allocations: 4.75 kB / 0.6834 GB, free: 56.02 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)