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.001093/0.001093, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.262/1.262, allocations: 222.9 MB / 239 MB, free: 4.754 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.001347/0.001347, allocations: 192.5 kB / 289.2 MB, free: 2.488 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4173/0.4173, allocations: 78.51 MB / 417.9 MB, free: 3.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 79.86 kB / 497 MB, free: 6.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1279, allocations: 68.17 MB / 0.552 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.2141/0.342, allocations: 3.845 MB / 0.5557 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3438, allocations: 1.115 MB / 0.5568 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.344, allocations: 11.25 kB / 0.5568 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.3443, allocations: 104.2 kB / 0.5569 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.3447, allocations: 140.2 kB / 0.557 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009244/0.3456, allocations: 483.1 kB / 0.5575 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005268/0.3462, allocations: 0.6473 MB / 0.5581 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.3464, allocations: 156 kB / 0.5583 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.3466, allocations: 274.5 kB / 0.5586 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.3469, allocations: 312 kB / 0.5588 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.305e-05/0.347, allocations: 43.41 kB / 0.5589 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.3472, allocations: 106.7 kB / 0.559 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.456e-05/0.3473, allocations: 122.7 kB / 0.5591 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.3475, allocations: 283.4 kB / 0.5594 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005356/0.348, allocations: 0.7109 MB / 0.5601 GB, free: 36.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.348, allocations: 0 / 0.5601 GB, free: 36.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.348, allocations: 0 / 0.5601 GB, free: 36.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.348, allocations: 0 / 0.5601 GB, free: 36.65 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.002853/0.3509, allocations: 1.229 MB / 0.5613 GB, free: 36.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.351, allocations: 11.5 kB / 0.5613 GB, free: 36.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.376e-05/0.3511, allocations: 83.64 kB / 0.5614 GB, free: 36.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.3526, allocations: 294.5 kB / 0.5616 GB, free: 35.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.3531, allocations: 439.3 kB / 0.5621 GB, free: 35.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.3532, allocations: 187 kB / 0.5622 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.902e-05/0.3533, allocations: 45.22 kB / 0.5623 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009032/0.3542, allocations: 0.5565 MB / 0.5628 GB, free: 35.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.3542, allocations: 0.5625 kB / 0.5628 GB, free: 35.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/0.3543, allocations: 14.88 kB / 0.5628 GB, free: 35.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.3543, allocations: 11.03 kB / 0.5629 GB, free: 35.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008193/0.3551, allocations: 487.9 kB / 0.5633 GB, free: 35.49 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.002293/0.3574, allocations: 2.095 MB / 0.5654 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009673/0.3671, allocations: 2.06 MB / 0.5674 GB, free: 34.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/0.3677, allocations: 274.5 kB / 0.5676 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.999e-05/0.3677, allocations: 7.312 kB / 0.5676 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000686/0.3684, allocations: 370 kB / 0.568 GB, free: 34.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.003e-06/0.3684, allocations: 1.875 kB / 0.568 GB, free: 34.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.005971/0.3744, allocations: 2.198 MB / 0.5701 GB, free: 33.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.3745, allocations: 87.62 kB / 0.5702 GB, free: 33.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.3748, allocations: 417.6 kB / 0.5706 GB, free: 33.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.3749, allocations: 32.11 kB / 0.5707 GB, free: 33.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.375, allocations: 278.2 kB / 0.5709 GB, free: 33.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.213e-05/0.3751, allocations: 131.2 kB / 0.5711 GB, free: 33.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.3753, allocations: 79.92 kB / 0.5711 GB, free: 33.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.3754, allocations: 357.3 kB / 0.5715 GB, free: 32.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.3758, allocations: 263.7 kB / 0.5717 GB, free: 32.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.3763, allocations: 307 kB / 0.572 GB, free: 32.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009173/0.3773, allocations: 0.5342 MB / 0.5725 GB, free: 32.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3773, allocations: 0.6875 kB / 0.5725 GB, free: 32.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00352/0.3808, allocations: 1.34 MB / 0.5738 GB, free: 32.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3808, allocations: 2.844 kB / 0.5738 GB, free: 32.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3808, allocations: 2.969 kB / 0.5738 GB, free: 32.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/0.3831, allocations: 0.7115 MB / 0.5745 GB, free: 32.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.3833, allocations: 39.58 kB / 0.5746 GB, free: 32.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005455/0.3888, allocations: 4.669 MB / 0.5791 GB, free: 29.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/0.3893, allocations: 72.08 kB / 0.5792 GB, free: 29.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.3893, allocations: 17.53 kB / 0.5792 GB, free: 29.78 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.0001975/0.3895, allocations: 174.1 kB / 0.5794 GB, free: 29.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.3896, allocations: 50.75 kB / 0.5794 GB, free: 29.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003727/0.3933, allocations: 1.319 MB / 0.5807 GB, free: 29.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.3934, allocations: 4.562 kB / 0.5807 GB, free: 29.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3934, allocations: 4.719 kB / 0.5807 GB, free: 29.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3934, allocations: 0.7188 kB / 0.5807 GB, free: 29.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.3939, allocations: 0.6358 MB / 0.5814 GB, free: 28.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.394, allocations: 3.859 kB / 0.5814 GB, free: 28.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.3941, allocations: 25.03 kB / 0.5814 GB, free: 28.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002262/0.3964, allocations: 0.7123 MB / 0.5821 GB, free: 28.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.3964, allocations: 5.469 kB / 0.5821 GB, free: 28.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005377/0.4018, allocations: 4.636 MB / 0.5866 GB, free: 25.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4018, allocations: 1.094 kB / 0.5866 GB, free: 25.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/0.4054, allocations: 1.324 MB / 0.5879 GB, free: 24.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.162e-05/0.4055, allocations: 128.6 kB / 0.588 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.4056, allocations: 6.406 kB / 0.588 GB, free: 24.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.406, allocations: 45.44 kB / 0.5881 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/0.4063, allocations: 100.3 kB / 0.5882 GB, free: 24.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.4063, allocations: 18.25 kB / 0.5882 GB, free: 24.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002644/0.4066, allocations: 291.5 kB / 0.5885 GB, free: 24.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4066, allocations: 1.688 kB / 0.5885 GB, free: 24.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006018/0.4072, allocations: 184.4 kB / 0.5886 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.003835/0.411, allocations: 1.862 MB / 0.5905 GB, free: 23.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00293/0.414, allocations: 1.29 MB / 0.5917 GB, free: 22.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.414, allocations: 4.062 kB / 0.5917 GB, free: 22.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002067/0.4161, allocations: 0.9931 MB / 0.5927 GB, free: 22.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.4165, allocations: 44.5 kB / 0.5927 GB, free: 22.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.4287, allocations: 6.191 MB / 0.5988 GB, free: 19.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.4291, allocations: 0.8596 MB / 0.5996 GB, free: 18.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.4292, allocations: 33.56 kB / 0.5997 GB, free: 18.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.4294, allocations: 185.5 kB / 0.5998 GB, free: 18.22 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4294, allocations: 4 kB / 0.5998 GB, free: 18.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06787/0.4973, allocations: 13.5 MB / 0.613 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/0.4975, allocations: 210.3 kB / 0.6132 GB, free: 14.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/2.481, allocations: 0 / 0.6132 GB, free: 14.86 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)