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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07513/0.07513, allocations: 12.36 MB / 31.19 MB, free: 4 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 111.6 kB / 37.24 MB, free: 1.238 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 207.6 MB / 250.8 MB, free: 7.375 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 208.4 kB / 306.1 MB, free: 488 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2969/0.2969, allocations: 79.73 MB / 440.9 MB, free: 12.46 MB / 318.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.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.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005825/0.005825, allocations: 147.8 kB / 0.5875 GB, free: 7.641 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3303, allocations: 71.94 MB / 0.6578 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.00365/0.334, allocations: 3.697 MB / 0.6614 GB, free: 8 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.336, allocations: 1.158 MB / 0.6625 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.3362, allocations: 11.22 kB / 0.6625 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.3365, allocations: 126.8 kB / 0.6626 GB, free: 15.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.3368, allocations: 211.7 kB / 0.6628 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009939/0.3378, allocations: 491.4 kB / 0.6633 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006811/0.3385, allocations: 0.6492 MB / 0.6639 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.3387, allocations: 104 kB / 0.664 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.339, allocations: 282.5 kB / 0.6643 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.3394, allocations: 315.6 kB / 0.6646 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.323e-05/0.3395, allocations: 44.19 kB / 0.6646 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.3397, allocations: 105.6 kB / 0.6647 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.3398, allocations: 116.7 kB / 0.6649 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002498/0.34, allocations: 289.7 kB / 0.6651 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007945/0.3408, allocations: 0.7121 MB / 0.6658 GB, free: 13.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3408, allocations: 0 / 0.6658 GB, free: 13.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3408, allocations: 0 / 0.6658 GB, free: 13.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.3408, allocations: 0 / 0.6658 GB, free: 13.36 MB / 462.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.003009/0.3438, allocations: 1.181 MB / 0.667 GB, free: 12.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3439, allocations: 13.09 kB / 0.667 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.973e-05/0.344, allocations: 83.62 kB / 0.6671 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.3455, allocations: 298.4 kB / 0.6674 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.3462, allocations: 379.6 kB / 0.6677 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.3464, allocations: 268.7 kB / 0.668 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.3465, allocations: 50.53 kB / 0.668 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.3475, allocations: 0.5549 MB / 0.6686 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3475, allocations: 1.781 kB / 0.6686 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.804e-05/0.3476, allocations: 15.62 kB / 0.6686 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.3476, allocations: 14.31 kB / 0.6686 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/0.3485, allocations: 478 kB / 0.6691 GB, free: 11.59 MB / 462.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.002959/0.3515, allocations: 2.045 MB / 0.6711 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009454/0.361, allocations: 2.018 MB / 0.673 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005847/0.3615, allocations: 252.3 kB / 0.6733 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.077e-05/0.3616, allocations: 12.48 kB / 0.6733 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007406/0.3623, allocations: 370.4 kB / 0.6736 GB, free: 8.848 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.214e-06/0.3623, allocations: 0 / 0.6736 GB, free: 8.848 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.00628/0.3686, allocations: 1.885 MB / 0.6755 GB, free: 7.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.3687, allocations: 81.67 kB / 0.6756 GB, free: 7.816 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.3692, allocations: 415.9 kB / 0.6759 GB, free: 7.562 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.3692, allocations: 35.73 kB / 0.676 GB, free: 7.523 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.3695, allocations: 283.1 kB / 0.6763 GB, free: 7.273 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3696, allocations: 139 kB / 0.6764 GB, free: 7.152 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.3698, allocations: 73.03 kB / 0.6765 GB, free: 7.102 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3699, allocations: 358.6 kB / 0.6768 GB, free: 6.754 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.3705, allocations: 263.2 kB / 0.677 GB, free: 6.625 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.3711, allocations: 308.9 kB / 0.6773 GB, free: 6.453 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.3721, allocations: 0.5431 MB / 0.6779 GB, free: 6.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3721, allocations: 1.094 kB / 0.6779 GB, free: 6.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003788/0.3759, allocations: 1.337 MB / 0.6792 GB, free: 5.461 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3759, allocations: 5.688 kB / 0.6792 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3759, allocations: 1.312 kB / 0.6792 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/0.3783, allocations: 0.7121 MB / 0.6799 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.3785, allocations: 36.64 kB / 0.6799 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006835/0.3854, allocations: 4.47 MB / 0.6843 GB, free: 1.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.386, allocations: 70 kB / 0.6843 GB, free: 1.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.386, allocations: 14.16 kB / 0.6844 GB, free: 1.355 MB / 462.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.000267/0.3863, allocations: 163.8 kB / 0.6845 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.137e-05/0.3863, allocations: 52.02 kB / 0.6846 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/0.3901, allocations: 1.317 MB / 0.6859 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3901, allocations: 4.031 kB / 0.6859 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3901, allocations: 1.062 kB / 0.6859 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3901, allocations: 5.109 kB / 0.6859 GB, free: 464 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007274/0.3909, allocations: 0.5906 MB / 0.6864 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3909, allocations: 1.156 kB / 0.6864 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.391, allocations: 29.23 kB / 0.6865 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/0.3933, allocations: 0.7031 MB / 0.6872 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.3933, allocations: 14.34 kB / 0.6872 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/0.3998, allocations: 4.432 MB / 0.6915 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3998, allocations: 0 / 0.6915 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00385/0.4036, allocations: 1.318 MB / 0.6928 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.4038, allocations: 53.72 kB / 0.6928 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.891e-05/0.4038, allocations: 14.69 kB / 0.6928 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.4042, allocations: 42.62 kB / 0.6929 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.4045, allocations: 108.3 kB / 0.693 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.4045, allocations: 7.531 kB / 0.693 GB, free: 11.06 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003236/0.4049, allocations: 290.4 kB / 0.6933 GB, free: 10.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4049, allocations: 3.938 kB / 0.6933 GB, free: 10.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006125/0.4055, allocations: 195.4 kB / 0.6935 GB, free: 10.84 MB / 478.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.003998/0.4095, allocations: 1.841 MB / 0.6953 GB, free: 9.598 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00288/0.4123, allocations: 1.109 MB / 0.6963 GB, free: 8.926 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4123, allocations: 1.375 kB / 0.6963 GB, free: 8.926 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.4145, allocations: 0.8327 MB / 0.6972 GB, free: 8.375 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.4149, allocations: 39.78 kB / 0.6972 GB, free: 8.348 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.4272, allocations: 5.932 MB / 0.703 GB, free: 2.996 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.4277, allocations: 0.8589 MB / 0.7038 GB, free: 2.109 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.4278, allocations: 35.27 kB / 0.7039 GB, free: 2.078 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.428, allocations: 195.4 kB / 0.7041 GB, free: 1.887 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.428, allocations: 0 / 0.7041 GB, free: 1.887 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04887/0.4769, allocations: 14.81 MB / 0.7185 GB, free: 3.094 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.6, allocations: 3.953 kB / 0.7185 GB, free: 3.09 MB / 494.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.533694530000503] Failed to read output from testmodel.py, exit status != 0: 12.728136017001816 12.751023638 12.405364104 Calling exit ...