Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009203/0.0009202, allocations: 175.3 kB / 15.42 MB, free: 6.145 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.8 MB / 239 MB, free: 1.824 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007487/0.0007488, allocations: 92.44 kB / 289.8 MB, free: 14.31 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.46/0.46, allocations: 78.42 MB / 418.9 MB, free: 44.33 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 15.98 kB / 498.5 MB, free: 3.781 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3628, allocations: 68.75 MB / 0.554 GB, free: 40 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004411/0.3673, allocations: 3.85 MB / 0.5577 GB, free: 39.18 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.3692, allocations: 1.117 MB / 0.5588 GB, free: 38.7 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.3694, allocations: 11.91 kB / 0.5588 GB, free: 38.69 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.3698, allocations: 103.1 kB / 0.5589 GB, free: 38.66 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.3701, allocations: 141.9 kB / 0.5591 GB, free: 38.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3712, allocations: 498.5 kB / 0.5595 GB, free: 38.42 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006539/0.3719, allocations: 0.6196 MB / 0.5601 GB, free: 38.26 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.3721, allocations: 140.6 kB / 0.5603 GB, free: 38.22 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.3724, allocations: 248.3 kB / 0.5605 GB, free: 38.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.3728, allocations: 284.4 kB / 0.5608 GB, free: 38.06 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.449e-05/0.3728, allocations: 25 kB / 0.5608 GB, free: 38.06 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.3731, allocations: 86.55 kB / 0.5609 GB, free: 38.05 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.759e-05/0.3732, allocations: 98.92 kB / 0.561 GB, free: 38.02 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.3734, allocations: 262.3 kB / 0.5612 GB, free: 37.91 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000842/0.3742, allocations: 0.6692 MB / 0.5619 GB, free: 37.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.3742, allocations: 0.6094 kB / 0.5619 GB, free: 37.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3743, allocations: 1 kB / 0.5619 GB, free: 37.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3743, allocations: 4 kB / 0.5619 GB, free: 37.73 MB / 426.7 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.003492/0.3778, allocations: 1.128 MB / 0.563 GB, free: 37.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.3778, allocations: 9.906 kB / 0.563 GB, free: 37.15 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.378, allocations: 85.95 kB / 0.5631 GB, free: 37.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.3797, allocations: 288.7 kB / 0.5634 GB, free: 37.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.3802, allocations: 433.5 kB / 0.5638 GB, free: 36.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.3804, allocations: 191.2 kB / 0.564 GB, free: 36.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.3805, allocations: 45.12 kB / 0.564 GB, free: 36.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.3816, allocations: 0.556 MB / 0.5645 GB, free: 36.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3816, allocations: 0 / 0.5645 GB, free: 36.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/0.3817, allocations: 17.56 kB / 0.5646 GB, free: 36.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.3817, allocations: 10.06 kB / 0.5646 GB, free: 36.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.3827, allocations: 482.2 kB / 0.565 GB, free: 36.55 MB / 426.7 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.002806/0.3855, allocations: 2.099 MB / 0.5671 GB, free: 35.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009577/0.3951, allocations: 2.056 MB / 0.5691 GB, free: 34.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/0.3958, allocations: 275.6 kB / 0.5694 GB, free: 34.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.634e-05/0.3959, allocations: 2.844 kB / 0.5694 GB, free: 34.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007676/0.3966, allocations: 370.6 kB / 0.5697 GB, free: 34.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 2.795e-06/0.3966, allocations: 2.781 kB / 0.5697 GB, free: 34.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.006199/0.4029, allocations: 2.197 MB / 0.5719 GB, free: 33.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.4029, allocations: 83.95 kB / 0.5719 GB, free: 33.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006022/0.4035, allocations: 413.6 kB / 0.5723 GB, free: 33.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.4036, allocations: 40.39 kB / 0.5724 GB, free: 33.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.4038, allocations: 280 kB / 0.5726 GB, free: 33.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.4039, allocations: 142.2 kB / 0.5728 GB, free: 33.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.404, allocations: 37.02 kB / 0.5728 GB, free: 33.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.4041, allocations: 356.4 kB / 0.5731 GB, free: 32.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.4046, allocations: 262.7 kB / 0.5734 GB, free: 32.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.4051, allocations: 302.1 kB / 0.5737 GB, free: 32.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009784/0.4061, allocations: 0.5417 MB / 0.5742 GB, free: 32.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4061, allocations: 2.938 kB / 0.5742 GB, free: 32.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00363/0.4098, allocations: 1.339 MB / 0.5755 GB, free: 31.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.4098, allocations: 5.688 kB / 0.5755 GB, free: 31.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.4098, allocations: 3.938 kB / 0.5755 GB, free: 31.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/0.4122, allocations: 0.711 MB / 0.5762 GB, free: 31.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.4124, allocations: 38.61 kB / 0.5763 GB, free: 31.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005469/0.4179, allocations: 4.301 MB / 0.5805 GB, free: 28.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.4184, allocations: 69.69 kB / 0.5805 GB, free: 28.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.4185, allocations: 16.53 kB / 0.5805 GB, free: 28.4 MB / 426.7 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.0002573/0.4188, allocations: 168.9 kB / 0.5807 GB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/0.4188, allocations: 50.72 kB / 0.5808 GB, free: 28.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/0.4224, allocations: 1.322 MB / 0.582 GB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.4224, allocations: 8.391 kB / 0.5821 GB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.4224, allocations: 0 / 0.5821 GB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4224, allocations: 2.625 kB / 0.5821 GB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/0.423, allocations: 0.6249 MB / 0.5827 GB, free: 27.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.423, allocations: 3.938 kB / 0.5827 GB, free: 27.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.4232, allocations: 24.75 kB / 0.5827 GB, free: 27.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002153/0.4253, allocations: 0.7163 MB / 0.5834 GB, free: 27.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.4254, allocations: 6.625 kB / 0.5834 GB, free: 27.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004991/0.4304, allocations: 4.261 MB / 0.5876 GB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4304, allocations: 7.875 kB / 0.5876 GB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/0.4339, allocations: 1.314 MB / 0.5889 GB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.434, allocations: 133.5 kB / 0.589 GB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.4341, allocations: 4 kB / 0.589 GB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.4344, allocations: 49.11 kB / 0.589 GB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.4347, allocations: 106.5 kB / 0.5891 GB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.4347, allocations: 6.094 kB / 0.5891 GB, free: 23.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002547/0.435, allocations: 292.1 kB / 0.5894 GB, free: 23.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.435, allocations: 0 / 0.5894 GB, free: 23.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000571/0.4356, allocations: 191.8 kB / 0.5896 GB, free: 23.17 MB / 426.7 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.003768/0.4394, allocations: 1.854 MB / 0.5914 GB, free: 22.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002685/0.4421, allocations: 1.27 MB / 0.5927 GB, free: 21.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4421, allocations: 0 / 0.5927 GB, free: 21.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.444, allocations: 0.969 MB / 0.5936 GB, free: 20.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.4444, allocations: 45.69 kB / 0.5936 GB, free: 20.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.4566, allocations: 6.181 MB / 0.5997 GB, free: 17.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.457, allocations: 0.8622 MB / 0.6005 GB, free: 17.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.4572, allocations: 33.92 kB / 0.6006 GB, free: 17.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.4574, allocations: 189.1 kB / 0.6007 GB, free: 16.89 MB / 426.7 MB Notification: Performance of SimCode: time 9.21e-07/0.4574, allocations: 0 / 0.6007 GB, free: 16.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.4853, allocations: 12.66 MB / 0.6131 GB, free: 13.06 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/0.4855, allocations: 221.9 kB / 0.6133 GB, free: 12.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/2.704, allocations: 0 / 0.6133 GB, free: 12.8 MB / 426.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_release_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)