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.131/0.131, allocations: 12.59 MB / 28.22 MB, free: 0.7266 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.001551/0.001551, allocations: 111.4 kB / 31.83 MB, free: 3.867 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.268/2.268, 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.002121/0.002121, allocations: 195.3 kB / 290.7 MB, free: 10.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.7255/0.7255, allocations: 78.5 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.005081/0.005081, allocations: 135.8 kB / 0.5553 GB, free: 17.83 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1727, allocations: 68.13 MB / 0.6219 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.007124/0.1799, allocations: 3.667 MB / 0.6254 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.1832, allocations: 1.142 MB / 0.6266 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005697/0.1838, allocations: 11.94 kB / 0.6266 GB, free: 8.824 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.1845, allocations: 123 kB / 0.6267 GB, free: 8.703 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009036/0.1855, allocations: 170.5 kB / 0.6269 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.1874, allocations: 0.5217 MB / 0.6274 GB, free: 8.016 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.1887, allocations: 0.642 MB / 0.628 GB, free: 7.371 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.1891, allocations: 153.9 kB / 0.6281 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005431/0.1897, allocations: 278.7 kB / 0.6284 GB, free: 6.938 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006329/0.1904, allocations: 310.5 kB / 0.6287 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.1905, allocations: 44 kB / 0.6287 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.1909, allocations: 112 kB / 0.6288 GB, free: 6.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.1911, allocations: 115.5 kB / 0.629 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004181/0.1916, allocations: 286.2 kB / 0.6292 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.1928, allocations: 0.7076 MB / 0.6299 GB, free: 5.379 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1928, allocations: 0 / 0.6299 GB, free: 5.379 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.1928, allocations: 7.922 kB / 0.6299 GB, free: 5.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.633e-05/0.1929, allocations: 0 / 0.6299 GB, free: 5.371 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.005512/0.1984, allocations: 1.24 MB / 0.6311 GB, free: 4.078 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.1984, allocations: 11.98 kB / 0.6312 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/0.1986, allocations: 86.7 kB / 0.6312 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00298/0.2016, allocations: 284 kB / 0.6315 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.2028, allocations: 453.6 kB / 0.6319 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/0.2032, allocations: 185.4 kB / 0.6321 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.2033, allocations: 44 kB / 0.6322 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.2052, allocations: 0.5564 MB / 0.6327 GB, free: 2.391 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.2053, allocations: 0 / 0.6327 GB, free: 2.391 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.357e-05/0.2053, allocations: 16 kB / 0.6327 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.2054, allocations: 11.94 kB / 0.6327 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.2072, allocations: 487.2 kB / 0.6332 GB, free: 1.887 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.004776/0.212, allocations: 2.085 MB / 0.6352 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01855/0.2305, allocations: 2.052 MB / 0.6372 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.2316, allocations: 273.6 kB / 0.6375 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.375e-05/0.2317, allocations: 8 kB / 0.6375 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001256/0.233, allocations: 363.8 kB / 0.6378 GB, free: 12.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 3.256e-06/0.233, allocations: 4 kB / 0.6379 GB, free: 12.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.01163/0.2447, allocations: 2.197 MB / 0.64 GB, free: 10.58 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.2448, allocations: 85.09 kB / 0.6401 GB, free: 10.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007686/0.2456, allocations: 418 kB / 0.6405 GB, free: 10.06 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.561e-05/0.2457, allocations: 33.7 kB / 0.6405 GB, free: 10.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.246, allocations: 276 kB / 0.6408 GB, free: 9.746 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.2462, allocations: 134 kB / 0.6409 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.2465, allocations: 74.12 kB / 0.641 GB, free: 9.535 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.2467, allocations: 358.8 kB / 0.6413 GB, free: 9.176 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.2477, allocations: 264.7 kB / 0.6416 GB, free: 8.918 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.2488, allocations: 298.7 kB / 0.6419 GB, free: 8.617 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.2507, allocations: 0.5505 MB / 0.6424 GB, free: 8.059 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.2508, allocations: 4 kB / 0.6424 GB, free: 8.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.006935/0.2577, allocations: 1.335 MB / 0.6437 GB, free: 6.699 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.2578, allocations: 8 kB / 0.6437 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2578, allocations: 0 / 0.6437 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00433/0.2621, allocations: 0.7096 MB / 0.6444 GB, free: 5.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/0.2626, allocations: 43.86 kB / 0.6444 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.274, allocations: 4.663 MB / 0.649 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009212/0.275, allocations: 63.7 kB / 0.6491 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.2751, allocations: 16 kB / 0.6491 GB, free: 0.9023 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.000428/0.2756, allocations: 165.8 kB / 0.6492 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.2758, allocations: 47.44 kB / 0.6493 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007099/0.2829, allocations: 1.327 MB / 0.6506 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.2829, allocations: 4 kB / 0.6506 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.2829, allocations: 256 / 0.6506 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.283, allocations: 7.984 kB / 0.6506 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.2843, allocations: 0.622 MB / 0.6512 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.2843, allocations: 4 kB / 0.6512 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.2846, allocations: 27.92 kB / 0.6512 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004231/0.2889, allocations: 0.7096 MB / 0.6519 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.446e-05/0.289, allocations: 4 kB / 0.6519 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/0.3001, allocations: 4.626 MB / 0.6564 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.3001, allocations: 3.984 kB / 0.6564 GB, free: 8.988 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006966/0.3071, allocations: 1.325 MB / 0.6577 GB, free: 7.629 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.3073, allocations: 128.5 kB / 0.6579 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.3075, allocations: 8 kB / 0.6579 GB, free: 7.477 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/0.3083, allocations: 47.89 kB / 0.6579 GB, free: 7.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005097/0.3088, allocations: 103.8 kB / 0.658 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/0.3089, allocations: 11.98 kB / 0.658 GB, free: 7.316 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005598/0.3094, allocations: 291.1 kB / 0.6583 GB, free: 7.035 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3095, allocations: 0 / 0.6583 GB, free: 7.035 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001205/0.3107, allocations: 183.7 kB / 0.6585 GB, free: 6.855 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.007141/0.3178, allocations: 1.85 MB / 0.6603 GB, free: 4.961 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005143/0.323, allocations: 1.313 MB / 0.6616 GB, free: 3.578 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.323, allocations: 0 / 0.6616 GB, free: 3.578 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003914/0.327, allocations: 0.9913 MB / 0.6625 GB, free: 2.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007048/0.3277, allocations: 41.95 kB / 0.6626 GB, free: 2.477 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02153/0.3492, allocations: 5.92 MB / 0.6683 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/0.3499, allocations: 0.859 MB / 0.6692 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.3502, allocations: 35.27 kB / 0.6692 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/0.3506, allocations: 187.4 kB / 0.6694 GB, free: 11.32 MB / 494.1 MB Notification: Performance of SimCode: time 1.904e-06/0.3506, allocations: 3.828 kB / 0.6694 GB, free: 11.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4596/0.8102, allocations: 14.77 MB / 0.6838 GB, free: 56.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18/18.81, allocations: 2.203 kB / 0.6838 GB, free: 56.38 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)