Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_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.001164/0.001164, allocations: 108 kB / 15.6 MB, free: 132 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.386/1.386, allocations: 222.9 MB / 239.2 MB, free: 4.59 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.001534/0.001534, allocations: 196.4 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5175/0.5175, allocations: 91.89 MB / 431.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 75.88 kB / 0.502 GB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3715, allocations: 71.27 MB / 0.5716 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004208/0.3758, allocations: 3.669 MB / 0.5752 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.3778, allocations: 1.101 MB / 0.5762 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000427/0.3783, allocations: 11.81 kB / 0.5762 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.3786, allocations: 128.6 kB / 0.5764 GB, free: 34.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.379, allocations: 174 kB / 0.5765 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009613/0.38, allocations: 0.515 MB / 0.577 GB, free: 33.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.3805, allocations: 0.6407 MB / 0.5777 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.3807, allocations: 156.7 kB / 0.5778 GB, free: 33.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.3809, allocations: 276.4 kB / 0.5781 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.3812, allocations: 310.4 kB / 0.5784 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.596e-05/0.3813, allocations: 44.56 kB / 0.5784 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.3815, allocations: 105.2 kB / 0.5785 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.3815, allocations: 116.5 kB / 0.5786 GB, free: 33.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.3817, allocations: 288.1 kB / 0.5789 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.3822, allocations: 0.7037 MB / 0.5796 GB, free: 32.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3823, allocations: 0.625 kB / 0.5796 GB, free: 32.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3823, allocations: 0.5312 kB / 0.5796 GB, free: 32.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3823, allocations: 0 / 0.5796 GB, free: 32.5 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.00288/0.3852, allocations: 1.24 MB / 0.5808 GB, free: 31.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3852, allocations: 11.25 kB / 0.5808 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.554e-05/0.3853, allocations: 83.31 kB / 0.5809 GB, free: 31.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.3868, allocations: 290.6 kB / 0.5812 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.3873, allocations: 438.3 kB / 0.5816 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.3874, allocations: 197.3 kB / 0.5818 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.3875, allocations: 37.38 kB / 0.5818 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008741/0.3884, allocations: 0.561 MB / 0.5823 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3884, allocations: 0 / 0.5823 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.3884, allocations: 16.12 kB / 0.5824 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3885, allocations: 10.19 kB / 0.5824 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008368/0.3893, allocations: 490.4 kB / 0.5828 GB, free: 30.71 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.002211/0.3915, allocations: 2.091 MB / 0.5849 GB, free: 29.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.402, allocations: 2.051 MB / 0.5869 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.4025, allocations: 277.2 kB / 0.5871 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.4026, allocations: 7.469 kB / 0.5872 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007013/0.4033, allocations: 363.8 kB / 0.5875 GB, free: 28.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.904e-06/0.4033, allocations: 4 kB / 0.5875 GB, free: 28.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.006472/0.4098, allocations: 2.205 MB / 0.5897 GB, free: 27.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.4098, allocations: 81.73 kB / 0.5897 GB, free: 27.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.4103, allocations: 419.2 kB / 0.5901 GB, free: 27.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.4103, allocations: 32.36 kB / 0.5902 GB, free: 27.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.4105, allocations: 280.7 kB / 0.5904 GB, free: 27.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-05/0.4106, allocations: 128.8 kB / 0.5906 GB, free: 27.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.4107, allocations: 79.33 kB / 0.5906 GB, free: 27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.4108, allocations: 355 kB / 0.591 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.4114, allocations: 264 kB / 0.5912 GB, free: 26.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.4119, allocations: 301.8 kB / 0.5915 GB, free: 26.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.413, allocations: 0.5501 MB / 0.5921 GB, free: 26.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.413, allocations: 1.094 kB / 0.5921 GB, free: 26.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003823/0.4169, allocations: 1.338 MB / 0.5934 GB, free: 25.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4169, allocations: 5.625 kB / 0.5934 GB, free: 25.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4169, allocations: 7.125 kB / 0.5934 GB, free: 25.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/0.4194, allocations: 0.7143 MB / 0.5941 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.4197, allocations: 43.12 kB / 0.5941 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006314/0.426, allocations: 4.662 MB / 0.5987 GB, free: 22.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.4265, allocations: 69.16 kB / 0.5987 GB, free: 21.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.4265, allocations: 14.05 kB / 0.5987 GB, free: 21.98 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.0001974/0.4267, allocations: 168.8 kB / 0.5989 GB, free: 21.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/0.4268, allocations: 47.81 kB / 0.5989 GB, free: 21.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/0.4308, allocations: 1.323 MB / 0.6002 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.4309, allocations: 5.125 kB / 0.6002 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4309, allocations: 5.375 kB / 0.6003 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.4309, allocations: 2.062 kB / 0.6003 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000663/0.4316, allocations: 0.6355 MB / 0.6009 GB, free: 21.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4316, allocations: 1.062 kB / 0.6009 GB, free: 21.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.4317, allocations: 28.23 kB / 0.6009 GB, free: 21.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002495/0.4342, allocations: 0.7066 MB / 0.6016 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.4343, allocations: 7.969 kB / 0.6016 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006184/0.4405, allocations: 4.633 MB / 0.6061 GB, free: 17.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4405, allocations: 1.891 kB / 0.6061 GB, free: 17.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004093/0.4446, allocations: 1.32 MB / 0.6074 GB, free: 16.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/0.4447, allocations: 134 kB / 0.6075 GB, free: 16.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.4447, allocations: 10.77 kB / 0.6076 GB, free: 16.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.4452, allocations: 45.12 kB / 0.6076 GB, free: 16.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/0.4454, allocations: 105.2 kB / 0.6077 GB, free: 16.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.4455, allocations: 11.84 kB / 0.6077 GB, free: 16.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003442/0.4458, allocations: 291.7 kB / 0.608 GB, free: 16.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4458, allocations: 0 / 0.608 GB, free: 16.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006149/0.4464, allocations: 188.4 kB / 0.6082 GB, free: 16.46 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.004188/0.4506, allocations: 1.849 MB / 0.61 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002937/0.4536, allocations: 1.306 MB / 0.6112 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4536, allocations: 0 / 0.6112 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.4557, allocations: 0.9907 MB / 0.6122 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.4561, allocations: 46.16 kB / 0.6123 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.4681, allocations: 5.994 MB / 0.6181 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.4684, allocations: 0.8631 MB / 0.619 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.4685, allocations: 33.38 kB / 0.619 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.4687, allocations: 188.9 kB / 0.6192 GB, free: 10.36 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4687, allocations: 3.938 kB / 0.6192 GB, free: 10.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04123/0.5099, allocations: 14.02 MB / 0.6329 GB, free: 14.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.45, allocations: 13.48 kB / 0.6329 GB, free: 14.46 MB / 446.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)