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.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.0.1/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 239.3 MB, free: 4.598 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.001294/0.001294, allocations: 199.5 kB / 289.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4217/0.4217, allocations: 78.54 MB / 418.3 MB, free: 3.172 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 80.16 kB / 497.5 MB, free: 6.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1056, allocations: 68.19 MB / 0.5525 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.1926/0.2982, allocations: 3.646 MB / 0.556 GB, free: 37.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2997, allocations: 1.092 MB / 0.5571 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.2999, allocations: 9.594 kB / 0.5571 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.3002, allocations: 125 kB / 0.5572 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.3006, allocations: 170.5 kB / 0.5574 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009136/0.3015, allocations: 0.5214 MB / 0.5579 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000451/0.302, allocations: 0.6357 MB / 0.5585 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.3022, allocations: 160 kB / 0.5587 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.3024, allocations: 269.6 kB / 0.5589 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.3027, allocations: 313.2 kB / 0.5592 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.15e-05/0.3028, allocations: 45.12 kB / 0.5593 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.3029, allocations: 104.1 kB / 0.5594 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.303, allocations: 126.5 kB / 0.5595 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.3032, allocations: 284 kB / 0.5598 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.3037, allocations: 0.7003 MB / 0.5605 GB, free: 36.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3038, allocations: 0 / 0.5605 GB, free: 36.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3038, allocations: 5.562 kB / 0.5605 GB, free: 36.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3038, allocations: 1.125 kB / 0.5605 GB, free: 36.67 MB / 430.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.002916/0.3067, allocations: 1.24 MB / 0.5617 GB, free: 36.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3067, allocations: 11.47 kB / 0.5617 GB, free: 36.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.621e-05/0.3068, allocations: 88.53 kB / 0.5618 GB, free: 36.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.3084, allocations: 282.7 kB / 0.562 GB, free: 35.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.3088, allocations: 435.9 kB / 0.5624 GB, free: 35.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.309, allocations: 190.8 kB / 0.5626 GB, free: 35.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.3091, allocations: 42.91 kB / 0.5627 GB, free: 35.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008928/0.31, allocations: 0.5551 MB / 0.5632 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.31, allocations: 1.531 kB / 0.5632 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.31, allocations: 21.08 kB / 0.5632 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.31, allocations: 8.812 kB / 0.5632 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008477/0.3109, allocations: 483 kB / 0.5637 GB, free: 35.5 MB / 430.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.002205/0.3131, allocations: 2.104 MB / 0.5658 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.3236, allocations: 2.051 MB / 0.5678 GB, free: 34.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.3242, allocations: 275.1 kB / 0.568 GB, free: 34.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/0.3243, allocations: 15.17 kB / 0.568 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006952/0.325, allocations: 366.9 kB / 0.5684 GB, free: 34.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.703e-06/0.325, allocations: 0 / 0.5684 GB, free: 34.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.006449/0.3314, allocations: 2.191 MB / 0.5705 GB, free: 33.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.3315, allocations: 83.16 kB / 0.5706 GB, free: 33.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.3319, allocations: 423.4 kB / 0.571 GB, free: 33.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.3319, allocations: 36.08 kB / 0.571 GB, free: 33.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.3321, allocations: 274 kB / 0.5713 GB, free: 33.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.3322, allocations: 136 kB / 0.5714 GB, free: 33.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.3323, allocations: 77.11 kB / 0.5715 GB, free: 33.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.3324, allocations: 360.1 kB / 0.5719 GB, free: 32.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005179/0.3329, allocations: 259.7 kB / 0.5721 GB, free: 32.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.3334, allocations: 306.8 kB / 0.5724 GB, free: 32.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009877/0.3344, allocations: 0.5337 MB / 0.5729 GB, free: 32.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3344, allocations: 0 / 0.5729 GB, free: 32.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003685/0.3381, allocations: 1.336 MB / 0.5742 GB, free: 32.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3382, allocations: 6.406 kB / 0.5742 GB, free: 32.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3382, allocations: 4 kB / 0.5742 GB, free: 32.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/0.3406, allocations: 0.7158 MB / 0.5749 GB, free: 32.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.3408, allocations: 39.78 kB / 0.575 GB, free: 32.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005776/0.3466, allocations: 4.668 MB / 0.5795 GB, free: 29.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.3471, allocations: 67.19 kB / 0.5796 GB, free: 29.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.3471, allocations: 14.56 kB / 0.5796 GB, free: 29.79 MB / 430.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.0001907/0.3473, allocations: 177.3 kB / 0.5798 GB, free: 29.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.3474, allocations: 46.31 kB / 0.5798 GB, free: 29.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.3513, allocations: 1.322 MB / 0.5811 GB, free: 29.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.3513, allocations: 5.172 kB / 0.5811 GB, free: 29.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3513, allocations: 1.094 kB / 0.5811 GB, free: 29.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3513, allocations: 4.203 kB / 0.5811 GB, free: 29.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.3519, allocations: 0.6322 MB / 0.5817 GB, free: 28.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3519, allocations: 6.531 kB / 0.5817 GB, free: 28.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.3521, allocations: 28.28 kB / 0.5818 GB, free: 28.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002358/0.3544, allocations: 0.7086 MB / 0.5825 GB, free: 28.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.3545, allocations: 5.469 kB / 0.5825 GB, free: 28.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005604/0.3601, allocations: 4.635 MB / 0.587 GB, free: 25.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3601, allocations: 1.125 kB / 0.587 GB, free: 25.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/0.364, allocations: 1.324 MB / 0.5883 GB, free: 24.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3641, allocations: 129.3 kB / 0.5884 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.3642, allocations: 6.156 kB / 0.5884 GB, free: 24.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.3646, allocations: 45.56 kB / 0.5885 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/0.3649, allocations: 105.5 kB / 0.5886 GB, free: 24.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.3649, allocations: 13.44 kB / 0.5886 GB, free: 24.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002922/0.3652, allocations: 290.7 kB / 0.5888 GB, free: 24.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3652, allocations: 0 / 0.5888 GB, free: 24.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007186/0.3659, allocations: 183.7 kB / 0.589 GB, free: 24.42 MB / 430.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.004081/0.37, allocations: 1.866 MB / 0.5908 GB, free: 23.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002936/0.373, allocations: 1.293 MB / 0.5921 GB, free: 22.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.373, allocations: 0 / 0.5921 GB, free: 22.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002191/0.3752, allocations: 0.9947 MB / 0.5931 GB, free: 22.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.3756, allocations: 46 kB / 0.5931 GB, free: 22.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.3875, allocations: 5.994 MB / 0.599 GB, free: 19.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.3879, allocations: 0.8559 MB / 0.5998 GB, free: 18.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.388, allocations: 38.95 kB / 0.5999 GB, free: 18.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.3882, allocations: 188.8 kB / 0.6 GB, free: 18.4 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3882, allocations: 0 / 0.6 GB, free: 18.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.4246, allocations: 14.03 MB / 0.6137 GB, free: 14.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.57, allocations: 9.234 kB / 0.6137 GB, free: 14.77 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)