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.001582/0.001582, 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.357/1.357, allocations: 222.9 MB / 239.3 MB, free: 4.641 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.001245/0.001245, allocations: 192.4 kB / 289.6 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4925/0.4925, allocations: 91.91 MB / 431.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 71.88 kB / 0.502 GB, free: 7.691 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3095, allocations: 71.26 MB / 0.5716 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.00366/0.3132, allocations: 3.676 MB / 0.5752 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3148, allocations: 1.103 MB / 0.5762 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.315, allocations: 11.81 kB / 0.5762 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.3153, allocations: 125.3 kB / 0.5764 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.3156, allocations: 170 kB / 0.5765 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009206/0.3166, allocations: 0.5126 MB / 0.577 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.317, allocations: 0.645 MB / 0.5777 GB, free: 33.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.3172, allocations: 157 kB / 0.5778 GB, free: 33.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.3174, allocations: 268.2 kB / 0.5781 GB, free: 33.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.3177, allocations: 314.8 kB / 0.5784 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.3178, allocations: 45.59 kB / 0.5784 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.318, allocations: 103.7 kB / 0.5785 GB, free: 33.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.318, allocations: 119 kB / 0.5786 GB, free: 32.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.3182, allocations: 290.9 kB / 0.5789 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005001/0.3187, allocations: 0.6997 MB / 0.5796 GB, free: 32.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3187, allocations: 4.125 kB / 0.5796 GB, free: 32.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3188, allocations: 0 / 0.5796 GB, free: 32.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3188, allocations: 3.938 kB / 0.5796 GB, free: 32.46 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.002991/0.3218, allocations: 1.231 MB / 0.5808 GB, free: 31.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3218, allocations: 9.156 kB / 0.5808 GB, free: 31.76 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.596e-05/0.3219, allocations: 86.91 kB / 0.5809 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.3235, allocations: 296.4 kB / 0.5812 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.3239, allocations: 439.3 kB / 0.5816 GB, free: 31.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/0.3241, allocations: 194.2 kB / 0.5818 GB, free: 31.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.3242, allocations: 40.53 kB / 0.5818 GB, free: 31.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009172/0.3251, allocations: 0.5562 MB / 0.5823 GB, free: 30.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3251, allocations: 0 / 0.5823 GB, free: 30.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.3252, allocations: 14.59 kB / 0.5824 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.3252, allocations: 13 kB / 0.5824 GB, free: 30.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008568/0.3261, allocations: 485.8 kB / 0.5828 GB, free: 30.68 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.002352/0.3284, allocations: 2.093 MB / 0.5849 GB, free: 29.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.3391, allocations: 2.049 MB / 0.5869 GB, free: 28.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005984/0.3397, allocations: 279.5 kB / 0.5871 GB, free: 28.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.647e-05/0.3398, allocations: 8.578 kB / 0.5872 GB, free: 28.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007821/0.3406, allocations: 372.1 kB / 0.5875 GB, free: 28.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.445e-06/0.3406, allocations: 0 / 0.5875 GB, free: 28.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.006724/0.3473, allocations: 2.196 MB / 0.5897 GB, free: 27.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3474, allocations: 86.52 kB / 0.5897 GB, free: 27.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.3479, allocations: 416.3 kB / 0.5901 GB, free: 27.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.348, allocations: 34.89 kB / 0.5902 GB, free: 27.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.3482, allocations: 276.4 kB / 0.5904 GB, free: 27.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.3483, allocations: 136.8 kB / 0.5906 GB, free: 27.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.3484, allocations: 71.88 kB / 0.5906 GB, free: 26.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.3485, allocations: 354.6 kB / 0.591 GB, free: 26.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005669/0.3491, allocations: 264.5 kB / 0.5912 GB, free: 26.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/0.3497, allocations: 309.7 kB / 0.5915 GB, free: 26.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.3508, allocations: 0.5415 MB / 0.592 GB, free: 26.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3509, allocations: 0 / 0.592 GB, free: 26.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004098/0.355, allocations: 1.349 MB / 0.5934 GB, free: 25.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.355, allocations: 5.156 kB / 0.5934 GB, free: 25.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.355, allocations: 1.094 kB / 0.5934 GB, free: 25.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/0.3576, allocations: 0.707 MB / 0.5941 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.3579, allocations: 46.02 kB / 0.5941 GB, free: 25.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006637/0.3645, allocations: 4.673 MB / 0.5987 GB, free: 21.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.3652, allocations: 64.53 kB / 0.5987 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.3653, allocations: 13.97 kB / 0.5987 GB, free: 21.95 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.0002964/0.3656, allocations: 170.7 kB / 0.5989 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.3657, allocations: 51.5 kB / 0.599 GB, free: 21.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.3701, allocations: 1.319 MB / 0.6002 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3701, allocations: 4.578 kB / 0.6002 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.3701, allocations: 1.094 kB / 0.6002 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.3701, allocations: 3.484 kB / 0.6002 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008008/0.3709, allocations: 0.6304 MB / 0.6009 GB, free: 20.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.371, allocations: 1.766 kB / 0.6009 GB, free: 20.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.3711, allocations: 27.75 kB / 0.6009 GB, free: 20.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002641/0.3738, allocations: 0.7111 MB / 0.6016 GB, free: 20.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.3738, allocations: 6.875 kB / 0.6016 GB, free: 20.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006978/0.3808, allocations: 4.633 MB / 0.6061 GB, free: 17.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3809, allocations: 0.7031 kB / 0.6061 GB, free: 17.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004289/0.3851, allocations: 1.321 MB / 0.6074 GB, free: 16.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.3853, allocations: 138.6 kB / 0.6075 GB, free: 16.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.3855, allocations: 6.766 kB / 0.6075 GB, free: 16.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.386, allocations: 46.11 kB / 0.6076 GB, free: 16.63 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/0.3863, allocations: 107.3 kB / 0.6077 GB, free: 16.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.3864, allocations: 17.77 kB / 0.6077 GB, free: 16.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000405/0.3868, allocations: 286.2 kB / 0.608 GB, free: 16.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3868, allocations: 3.938 kB / 0.608 GB, free: 16.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007833/0.3876, allocations: 184.1 kB / 0.6082 GB, free: 16.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.004373/0.392, allocations: 1.854 MB / 0.61 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003327/0.3953, allocations: 1.292 MB / 0.6112 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3954, allocations: 5.344 kB / 0.6112 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002421/0.3978, allocations: 0.9931 MB / 0.6122 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.3983, allocations: 41.91 kB / 0.6123 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.4127, allocations: 5.999 MB / 0.6181 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.4133, allocations: 0.8599 MB / 0.6189 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.4135, allocations: 32.94 kB / 0.619 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.4138, allocations: 190.4 kB / 0.6192 GB, free: 10.32 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4138, allocations: 4 kB / 0.6192 GB, free: 10.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04157/0.4554, allocations: 14.03 MB / 0.6329 GB, free: 14.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.8, allocations: 14.05 kB / 0.6329 GB, free: 14.51 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)