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/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/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/package.mo): time 0.08068/0.08068, allocations: 12.21 MB / 27.48 MB, free: 0.9219 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.0006763/0.0006766, allocations: 99.52 kB / 31 MB, free: 4.531 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.4 MB / 239.8 MB, free: 11.47 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.00116/0.00116, allocations: 172.6 kB / 291 MB, free: 15.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4871/0.4871, allocations: 78.54 MB / 420.5 MB, free: 32.52 MB / 318.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.0008393/0.0008395, allocations: 31.28 kB / 0.4902 GB, free: 15.4 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.339, allocations: 69.23 MB / 0.5578 GB, free: 37.85 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003352/0.3424, allocations: 3.471 MB / 0.5612 GB, free: 35.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.3446, allocations: 1.139 MB / 0.5623 GB, free: 34.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005011/0.3451, allocations: 15.22 kB / 0.5623 GB, free: 34.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004644/0.3456, allocations: 98.84 kB / 0.5624 GB, free: 34.4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005975/0.3462, allocations: 143.2 kB / 0.5625 GB, free: 34.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3473, allocations: 486.3 kB / 0.563 GB, free: 34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007416/0.348, allocations: 0.6187 MB / 0.5636 GB, free: 33.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.3483, allocations: 134.7 kB / 0.5637 GB, free: 33.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003759/0.3487, allocations: 241.9 kB / 0.564 GB, free: 33.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004833/0.3492, allocations: 294.6 kB / 0.5642 GB, free: 33.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.3493, allocations: 22.91 kB / 0.5643 GB, free: 33.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.3496, allocations: 88.03 kB / 0.5644 GB, free: 33.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.3497, allocations: 97.92 kB / 0.5644 GB, free: 33.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.35, allocations: 286.5 kB / 0.5647 GB, free: 33.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.3507, allocations: 0.6646 MB / 0.5654 GB, free: 32.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3507, allocations: 0 / 0.5654 GB, free: 32.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3507, allocations: 0 / 0.5654 GB, free: 32.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.792e-05/0.3508, allocations: 0 / 0.5654 GB, free: 32.83 MB / 414.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.003207/0.354, allocations: 1.157 MB / 0.5665 GB, free: 32.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.354, allocations: 12.55 kB / 0.5665 GB, free: 32.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.3542, allocations: 84.14 kB / 0.5666 GB, free: 32.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.3558, allocations: 291.7 kB / 0.5669 GB, free: 32.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.3564, allocations: 438.3 kB / 0.5673 GB, free: 31.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.3566, allocations: 197.9 kB / 0.5675 GB, free: 31.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.124e-05/0.3567, allocations: 43.23 kB / 0.5675 GB, free: 31.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.3577, allocations: 0.5904 MB / 0.5681 GB, free: 31.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3578, allocations: 0 / 0.5681 GB, free: 31.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.3578, allocations: 18.91 kB / 0.5681 GB, free: 31.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.3578, allocations: 11.59 kB / 0.5681 GB, free: 31.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009555/0.3588, allocations: 0.499 MB / 0.5686 GB, free: 31.09 MB / 414.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.002563/0.3614, allocations: 2.124 MB / 0.5707 GB, free: 29.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.3725, allocations: 2.813 MB / 0.5734 GB, free: 29.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006169/0.3732, allocations: 303.3 kB / 0.5737 GB, free: 29.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.687e-05/0.3733, allocations: 9.422 kB / 0.5737 GB, free: 29.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007917/0.3741, allocations: 396.2 kB / 0.5741 GB, free: 28.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 3.106e-06/0.3741, allocations: 0 / 0.5741 GB, free: 28.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.007275/0.3814, allocations: 2.611 MB / 0.5767 GB, free: 27.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.3814, allocations: 80.58 kB / 0.5767 GB, free: 27.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000614/0.3821, allocations: 417.6 kB / 0.5771 GB, free: 27.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.3821, allocations: 35.55 kB / 0.5772 GB, free: 27.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.3824, allocations: 278.9 kB / 0.5774 GB, free: 27.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.3825, allocations: 133.1 kB / 0.5776 GB, free: 27.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.3826, allocations: 37.92 kB / 0.5776 GB, free: 27.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.3827, allocations: 358.1 kB / 0.5779 GB, free: 26.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006421/0.3833, allocations: 288.5 kB / 0.5782 GB, free: 26.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006774/0.384, allocations: 334.3 kB / 0.5785 GB, free: 26.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.3853, allocations: 0.5991 MB / 0.5791 GB, free: 26.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3853, allocations: 0 / 0.5791 GB, free: 26.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004579/0.3899, allocations: 1.598 MB / 0.5807 GB, free: 25.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3899, allocations: 8.625 kB / 0.5807 GB, free: 25.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3899, allocations: 5.562 kB / 0.5807 GB, free: 25.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002851/0.3928, allocations: 0.837 MB / 0.5815 GB, free: 25.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.3931, allocations: 42.17 kB / 0.5815 GB, free: 25.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00683/0.3999, allocations: 4.469 MB / 0.5859 GB, free: 22.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006229/0.4005, allocations: 85.55 kB / 0.586 GB, free: 22.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/0.4006, allocations: 14.03 kB / 0.586 GB, free: 22.41 MB / 414.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.0002903/0.4009, allocations: 171.8 kB / 0.5862 GB, free: 22.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.401, allocations: 51.39 kB / 0.5862 GB, free: 22.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004708/0.4058, allocations: 1.57 MB / 0.5878 GB, free: 21.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4058, allocations: 5.906 kB / 0.5878 GB, free: 21.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4058, allocations: 1.031 kB / 0.5878 GB, free: 21.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.4058, allocations: 3.203 kB / 0.5878 GB, free: 21.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008427/0.4067, allocations: 0.6194 MB / 0.5884 GB, free: 21.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.4067, allocations: 4.938 kB / 0.5884 GB, free: 21.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.4068, allocations: 36.39 kB / 0.5884 GB, free: 21.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002784/0.4096, allocations: 0.8299 MB / 0.5892 GB, free: 21.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.4097, allocations: 9.797 kB / 0.5892 GB, free: 21.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006293/0.416, allocations: 4.428 MB / 0.5936 GB, free: 17.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.416, allocations: 5.406 kB / 0.5936 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004491/0.4205, allocations: 1.571 MB / 0.5951 GB, free: 17.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.4207, allocations: 130 kB / 0.5952 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.4208, allocations: 10.38 kB / 0.5952 GB, free: 17.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/0.4213, allocations: 59.08 kB / 0.5953 GB, free: 17.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.4215, allocations: 104.3 kB / 0.5954 GB, free: 17.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.4216, allocations: 11.5 kB / 0.5954 GB, free: 17.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003444/0.4219, allocations: 285.7 kB / 0.5957 GB, free: 16.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4219, allocations: 0 / 0.5957 GB, free: 16.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007169/0.4227, allocations: 187.4 kB / 0.5958 GB, free: 16.94 MB / 414.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.004349/0.427, allocations: 2.083 MB / 0.5979 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002912/0.4299, allocations: 1.384 MB / 0.5992 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.43, allocations: 0 / 0.5992 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002112/0.4321, allocations: 1.067 MB / 0.6003 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.4325, allocations: 53.89 kB / 0.6003 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.4444, allocations: 6.69 MB / 0.6069 GB, free: 5.922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.4447, allocations: 0.8626 MB / 0.6077 GB, free: 5.035 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.4449, allocations: 31.28 kB / 0.6077 GB, free: 5.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.4451, allocations: 187.4 kB / 0.6079 GB, free: 4.824 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4451, allocations: 0 / 0.6079 GB, free: 4.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.4699, allocations: 12.69 MB / 0.6203 GB, free: 8.211 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.4701, allocations: 207.5 kB / 0.6205 GB, free: 7.961 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.435, allocations: 64 / 0.6205 GB, free: 7.961 MB / 430.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)