Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004657/0.004657, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 239.4 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 192.4 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5366/0.5366, allocations: 91.97 MB / 431.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.002251, allocations: 80.11 kB / 0.5723 GB, free: 33.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1281, allocations: 71.3 MB / 0.6419 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.00477/0.1329, allocations: 3.681 MB / 0.6455 GB, free: 240 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.135, allocations: 1.095 MB / 0.6466 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.1353, allocations: 11.94 kB / 0.6466 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.1357, allocations: 119 kB / 0.6467 GB, free: 15.01 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.1361, allocations: 174.5 kB / 0.6469 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1373, allocations: 0.5168 MB / 0.6474 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007085/0.138, allocations: 0.6459 MB / 0.648 GB, free: 13.67 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.1383, allocations: 158.1 kB / 0.6482 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.1386, allocations: 270.8 kB / 0.6484 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004145/0.139, allocations: 310.5 kB / 0.6487 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.065e-05/0.1391, allocations: 44 kB / 0.6488 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.1393, allocations: 108 kB / 0.6489 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1394, allocations: 119.5 kB / 0.649 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.1397, allocations: 286.2 kB / 0.6492 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008321/0.1405, allocations: 0.7157 MB / 0.6499 GB, free: 11.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1405, allocations: 0 / 0.6499 GB, free: 11.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1405, allocations: 0 / 0.6499 GB, free: 11.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1405, allocations: 0 / 0.6499 GB, free: 11.68 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.00338/0.1439, allocations: 1.263 MB / 0.6512 GB, free: 10.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.144, allocations: 8.031 kB / 0.6512 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.1441, allocations: 82.72 kB / 0.6513 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.1458, allocations: 292.2 kB / 0.6515 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.1465, allocations: 450.1 kB / 0.652 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.1467, allocations: 197.4 kB / 0.6522 GB, free: 9.277 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.834e-05/0.1468, allocations: 40 kB / 0.6522 GB, free: 9.238 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.148, allocations: 0.5603 MB / 0.6527 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.148, allocations: 0 / 0.6527 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.1481, allocations: 20 kB / 0.6528 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1481, allocations: 8 kB / 0.6528 GB, free: 8.641 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.1492, allocations: 479.2 kB / 0.6532 GB, free: 8.172 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.003121/0.1523, allocations: 2.082 MB / 0.6553 GB, free: 5.883 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/0.1637, allocations: 2.061 MB / 0.6573 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.1644, allocations: 279.1 kB / 0.6575 GB, free: 3.523 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.329e-05/0.1645, allocations: 7.984 kB / 0.6576 GB, free: 3.516 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008201/0.1653, allocations: 363.1 kB / 0.6579 GB, free: 3.141 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.145e-06/0.1653, allocations: 0 / 0.6579 GB, free: 3.141 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.007286/0.1726, allocations: 2.203 MB / 0.6601 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.1727, allocations: 85.11 kB / 0.6601 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.1733, allocations: 417.9 kB / 0.6605 GB, free: 332 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.1733, allocations: 33.7 kB / 0.6606 GB, free: 292 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.1736, allocations: 280.5 kB / 0.6608 GB, free: 8 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.1737, allocations: 138.8 kB / 0.661 GB, free: 15.87 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.1739, allocations: 82.03 kB / 0.661 GB, free: 15.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1741, allocations: 358.8 kB / 0.6614 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/0.1747, allocations: 260.7 kB / 0.6616 GB, free: 15.17 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006555/0.1754, allocations: 302.7 kB / 0.6619 GB, free: 14.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.1766, allocations: 0.5511 MB / 0.6625 GB, free: 14.31 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1767, allocations: 0 / 0.6625 GB, free: 14.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00428/0.1809, allocations: 1.336 MB / 0.6638 GB, free: 12.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.181, allocations: 8 kB / 0.6638 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.181, allocations: 0 / 0.6638 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002721/0.1837, allocations: 0.7174 MB / 0.6645 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.184, allocations: 39.97 kB / 0.6645 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007889/0.1919, allocations: 4.663 MB / 0.6691 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006001/0.1925, allocations: 67.78 kB / 0.6691 GB, free: 7.172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.1926, allocations: 12 kB / 0.6691 GB, free: 7.16 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.0002807/0.1929, allocations: 173 kB / 0.6693 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.193, allocations: 51.67 kB / 0.6694 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/0.1974, allocations: 1.32 MB / 0.6706 GB, free: 5.594 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.1975, allocations: 4 kB / 0.6706 GB, free: 5.59 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1975, allocations: 3.938 kB / 0.6706 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.1975, allocations: 3.984 kB / 0.6707 GB, free: 5.582 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000867/0.1984, allocations: 0.6336 MB / 0.6713 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.1984, allocations: 0 / 0.6713 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1986, allocations: 27.92 kB / 0.6713 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002682/0.2012, allocations: 0.7097 MB / 0.672 GB, free: 4.148 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.2013, allocations: 4 kB / 0.672 GB, free: 4.145 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007788/0.2091, allocations: 4.634 MB / 0.6765 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2091, allocations: 0 / 0.6765 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004473/0.2136, allocations: 1.329 MB / 0.6778 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.2138, allocations: 132.7 kB / 0.6779 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.903e-05/0.2139, allocations: 4 kB / 0.6779 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/0.2144, allocations: 47.94 kB / 0.678 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.2147, allocations: 99.8 kB / 0.6781 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.2148, allocations: 12 kB / 0.6781 GB, free: 13.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003824/0.2152, allocations: 295.1 kB / 0.6784 GB, free: 13.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.974e-06/0.2152, allocations: 0 / 0.6784 GB, free: 13.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006587/0.2159, allocations: 191.7 kB / 0.6786 GB, free: 13.09 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.004693/0.2206, allocations: 1.859 MB / 0.6804 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003377/0.224, allocations: 1.289 MB / 0.6816 GB, free: 9.824 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.224, allocations: 0 / 0.6816 GB, free: 9.824 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002558/0.2266, allocations: 1.006 MB / 0.6826 GB, free: 8.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/0.227, allocations: 41.91 kB / 0.6827 GB, free: 8.707 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.241, allocations: 5.948 MB / 0.6885 GB, free: 2.641 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/0.2416, allocations: 0.8551 MB / 0.6893 GB, free: 1.754 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.2418, allocations: 35.28 kB / 0.6893 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.2421, allocations: 187.4 kB / 0.6895 GB, free: 1.535 MB / 494.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2421, allocations: 0 / 0.6895 GB, free: 1.535 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04622/0.2883, allocations: 14.27 MB / 0.7035 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.73, allocations: 2.344 kB / 0.7035 GB, free: 3.359 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)