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.005513/0.005513, allocations: 103.6 kB / 15.73 MB, free: 6.039 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.256/1.256, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001407/0.001407, allocations: 192.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4789/0.4789, allocations: 91.91 MB / 431.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 84.39 kB / 0.5722 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1261, allocations: 71.29 MB / 0.6418 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.00422/0.1303, allocations: 3.661 MB / 0.6454 GB, free: 468 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.132, allocations: 1.091 MB / 0.6465 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.1322, allocations: 7.938 kB / 0.6465 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.1325, allocations: 135 kB / 0.6466 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.1329, allocations: 206.5 kB / 0.6468 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1339, allocations: 0.5131 MB / 0.6473 GB, free: 14.51 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005368/0.1345, allocations: 0.6497 MB / 0.6479 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.1347, allocations: 149.9 kB / 0.6481 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.135, allocations: 278.7 kB / 0.6483 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.1353, allocations: 314.5 kB / 0.6486 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.1354, allocations: 44 kB / 0.6487 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.1356, allocations: 112 kB / 0.6488 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.1356, allocations: 123.4 kB / 0.6489 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.1359, allocations: 282.3 kB / 0.6492 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006173/0.1365, allocations: 0.712 MB / 0.6499 GB, free: 11.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1365, allocations: 0 / 0.6499 GB, free: 11.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1365, allocations: 0 / 0.6499 GB, free: 11.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1365, allocations: 0 / 0.6499 GB, free: 11.86 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.002891/0.1394, allocations: 1.233 MB / 0.6511 GB, free: 10.58 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1395, allocations: 8.031 kB / 0.6511 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.705e-05/0.1395, allocations: 86.7 kB / 0.6512 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.1411, allocations: 291.9 kB / 0.6514 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.1417, allocations: 449.6 kB / 0.6519 GB, free: 9.715 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.1418, allocations: 189.4 kB / 0.6521 GB, free: 9.496 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.1419, allocations: 44 kB / 0.6521 GB, free: 9.453 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009247/0.1428, allocations: 0.5564 MB / 0.6526 GB, free: 8.887 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1429, allocations: 3.938 kB / 0.6526 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.1429, allocations: 16 kB / 0.6527 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1429, allocations: 11.94 kB / 0.6527 GB, free: 8.855 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008671/0.1438, allocations: 487.2 kB / 0.6531 GB, free: 8.379 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.002473/0.1463, allocations: 2.078 MB / 0.6552 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009368/0.1557, allocations: 2.049 MB / 0.6572 GB, free: 4.023 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/0.1562, allocations: 280 kB / 0.6574 GB, free: 3.746 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.175e-05/0.1563, allocations: 4 kB / 0.6574 GB, free: 3.742 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006759/0.157, allocations: 375 kB / 0.6578 GB, free: 3.355 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.903e-06/0.157, allocations: 0 / 0.6578 GB, free: 3.355 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.006013/0.163, allocations: 2.196 MB / 0.6599 GB, free: 1.066 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1631, allocations: 85.11 kB / 0.66 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.1635, allocations: 414 kB / 0.6604 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.1636, allocations: 33.7 kB / 0.6605 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.1638, allocations: 280 kB / 0.6607 GB, free: 236 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.1639, allocations: 126.1 kB / 0.6608 GB, free: 108 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.1641, allocations: 81.97 kB / 0.6609 GB, free: 20 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1642, allocations: 358.9 kB / 0.6613 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005174/0.1647, allocations: 268.7 kB / 0.6615 GB, free: 15.39 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.1653, allocations: 302.8 kB / 0.6618 GB, free: 15.09 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009995/0.1663, allocations: 0.5474 MB / 0.6623 GB, free: 14.54 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1663, allocations: 0 / 0.6623 GB, free: 14.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00363/0.1699, allocations: 1.336 MB / 0.6636 GB, free: 13.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.17, allocations: 8 kB / 0.6636 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.17, allocations: 0 / 0.6636 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/0.1722, allocations: 0.7173 MB / 0.6644 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.1725, allocations: 39.98 kB / 0.6644 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006174/0.1787, allocations: 4.657 MB / 0.6689 GB, free: 7.473 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.1791, allocations: 67.7 kB / 0.669 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.1792, allocations: 16 kB / 0.669 GB, free: 7.391 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.0002356/0.1794, allocations: 176.2 kB / 0.6692 GB, free: 7.215 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.1795, allocations: 47.44 kB / 0.6692 GB, free: 7.168 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/0.1831, allocations: 1.322 MB / 0.6705 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1831, allocations: 4 kB / 0.6705 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1831, allocations: 4 kB / 0.6705 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1831, allocations: 7.984 kB / 0.6705 GB, free: 5.812 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.1837, allocations: 0.6257 MB / 0.6711 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1838, allocations: 0 / 0.6711 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.1839, allocations: 27.92 kB / 0.6712 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/0.1861, allocations: 0.7096 MB / 0.6719 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.1861, allocations: 8 kB / 0.6719 GB, free: 4.379 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005769/0.1919, allocations: 4.629 MB / 0.6764 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1919, allocations: 0 / 0.6764 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/0.1955, allocations: 1.321 MB / 0.6777 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.1956, allocations: 132.4 kB / 0.6778 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.1956, allocations: 4 kB / 0.6778 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.196, allocations: 43.95 kB / 0.6779 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.1963, allocations: 107.8 kB / 0.678 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.1963, allocations: 11.94 kB / 0.678 GB, free: 13.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002765/0.1966, allocations: 291.1 kB / 0.6782 GB, free: 13.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1966, allocations: 0 / 0.6782 GB, free: 13.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005397/0.1972, allocations: 183.7 kB / 0.6784 GB, free: 13.34 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.003743/0.2009, allocations: 1.862 MB / 0.6802 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002715/0.2036, allocations: 1.293 MB / 0.6815 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2036, allocations: 0 / 0.6815 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002/0.2057, allocations: 0.9909 MB / 0.6825 GB, free: 9.012 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.206, allocations: 47.88 kB / 0.6825 GB, free: 8.965 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.2173, allocations: 5.919 MB / 0.6883 GB, free: 2.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.2177, allocations: 0.859 MB / 0.6891 GB, free: 2.035 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.2179, allocations: 35.27 kB / 0.6892 GB, free: 2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.2181, allocations: 187.4 kB / 0.6894 GB, free: 1.816 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2181, allocations: 4 kB / 0.6894 GB, free: 1.812 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04105/0.2592, allocations: 14.25 MB / 0.7033 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.85, allocations: 7.25 kB / 0.7033 GB, free: 3.645 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)