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.1095/0.1095, 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.001459/0.001459, allocations: 113 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.461/1.461, allocations: 207.6 MB / 250.8 MB, free: 7.371 MB / 190.1 MB " [Timeout remaining time 178] 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.001656/0.001656, allocations: 216.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.3341/0.3341, allocations: 79.73 MB / 440.9 MB, free: 12.47 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.00435/0.00435, allocations: 151.8 kB / 0.5875 GB, free: 7.664 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3623, allocations: 71.95 MB / 0.6578 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004226/0.3665, allocations: 3.701 MB / 0.6614 GB, free: 0 / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.369, allocations: 1.162 MB / 0.6625 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.3693, allocations: 12.97 kB / 0.6625 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004369/0.3697, allocations: 122 kB / 0.6626 GB, free: 15.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004829/0.3702, allocations: 206.3 kB / 0.6628 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.3714, allocations: 479.9 kB / 0.6633 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008722/0.3723, allocations: 0.6449 MB / 0.6639 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.3725, allocations: 111.4 kB / 0.664 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.373, allocations: 283.4 kB / 0.6643 GB, free: 14.15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005141/0.3735, allocations: 307.3 kB / 0.6646 GB, free: 14 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.933e-05/0.3736, allocations: 43.34 kB / 0.6646 GB, free: 14 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.3738, allocations: 110.1 kB / 0.6647 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.374, allocations: 119.9 kB / 0.6649 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.3743, allocations: 291.1 kB / 0.6651 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.3753, allocations: 0.7108 MB / 0.6658 GB, free: 13.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3753, allocations: 1.156 kB / 0.6658 GB, free: 13.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3753, allocations: 4 kB / 0.6658 GB, free: 13.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.3753, 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.003785/0.3791, allocations: 1.176 MB / 0.667 GB, free: 12.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3792, allocations: 9.781 kB / 0.667 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.3793, allocations: 86.84 kB / 0.6671 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.3812, allocations: 296.3 kB / 0.6674 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008862/0.3821, allocations: 386.2 kB / 0.6677 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002815/0.3823, allocations: 268.1 kB / 0.668 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.148e-05/0.3824, allocations: 43.28 kB / 0.668 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.3837, allocations: 0.5561 MB / 0.6686 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.3837, allocations: 0 / 0.6686 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.3838, allocations: 19.5 kB / 0.6686 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.3838, allocations: 10.44 kB / 0.6686 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.3849, allocations: 478.6 kB / 0.669 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.003437/0.3883, allocations: 2.045 MB / 0.671 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/0.3994, allocations: 2.024 MB / 0.673 GB, free: 9.238 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/0.4001, allocations: 251.5 kB / 0.6733 GB, free: 9.105 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.778e-05/0.4002, allocations: 12.56 kB / 0.6733 GB, free: 9.098 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007986/0.401, allocations: 370.3 kB / 0.6736 GB, free: 8.855 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.401, allocations: 0 / 0.6736 GB, free: 8.855 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.007027/0.408, allocations: 1.885 MB / 0.6755 GB, free: 7.918 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.4081, allocations: 85.47 kB / 0.6755 GB, free: 7.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005966/0.4087, allocations: 412 kB / 0.6759 GB, free: 7.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.383e-05/0.4088, allocations: 31.11 kB / 0.676 GB, free: 7.535 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.409, allocations: 287 kB / 0.6762 GB, free: 7.281 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.4092, allocations: 143.6 kB / 0.6764 GB, free: 7.156 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.4093, allocations: 69.84 kB / 0.6764 GB, free: 7.109 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.4095, allocations: 361.4 kB / 0.6768 GB, free: 6.758 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/0.4102, allocations: 262.9 kB / 0.677 GB, free: 6.629 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/0.4108, allocations: 306.6 kB / 0.6773 GB, free: 6.461 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.412, allocations: 0.543 MB / 0.6779 GB, free: 6.168 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.412, allocations: 0 / 0.6779 GB, free: 6.168 MB / 462.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004252/0.4163, allocations: 1.337 MB / 0.6792 GB, free: 5.469 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4163, allocations: 9.5 kB / 0.6792 GB, free: 5.465 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4163, allocations: 0 / 0.6792 GB, free: 5.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/0.419, allocations: 0.7057 MB / 0.6799 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.4192, allocations: 44.14 kB / 0.6799 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007711/0.4269, allocations: 4.465 MB / 0.6843 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006671/0.4276, allocations: 63.81 kB / 0.6843 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.4277, allocations: 13.81 kB / 0.6843 GB, free: 1.367 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.0002983/0.4279, allocations: 168.1 kB / 0.6845 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.951e-05/0.428, allocations: 54.91 kB / 0.6846 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/0.4323, allocations: 1.319 MB / 0.6858 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.4323, allocations: 3.219 kB / 0.6859 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4323, allocations: 3.125 kB / 0.6859 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.4323, allocations: 0 / 0.6859 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/0.4332, allocations: 0.5946 MB / 0.6864 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4332, allocations: 0 / 0.6864 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.4334, allocations: 30.34 kB / 0.6865 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002551/0.436, allocations: 0.7068 MB / 0.6872 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.88e-05/0.436, allocations: 6.219 kB / 0.6872 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00736/0.4434, allocations: 4.436 MB / 0.6915 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4434, allocations: 0 / 0.6915 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004406/0.4478, allocations: 1.322 MB / 0.6928 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.448, allocations: 53.44 kB / 0.6928 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.4481, allocations: 10.56 kB / 0.6928 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/0.4485, allocations: 43.53 kB / 0.6929 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/0.4488, allocations: 107.2 kB / 0.693 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.4488, allocations: 16.03 kB / 0.693 GB, free: 11.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003626/0.4492, allocations: 285.3 kB / 0.6933 GB, free: 10.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4492, allocations: 1.125 kB / 0.6933 GB, free: 10.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006593/0.4498, allocations: 191.1 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.0046/0.4544, allocations: 1.849 MB / 0.6953 GB, free: 9.598 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00333/0.4578, allocations: 1.105 MB / 0.6963 GB, free: 8.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/0.4578, allocations: 9.562 kB / 0.6964 GB, free: 8.922 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002415/0.4602, allocations: 0.8131 MB / 0.6971 GB, free: 8.391 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.4607, allocations: 51.41 kB / 0.6972 GB, free: 8.355 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.4746, allocations: 5.934 MB / 0.703 GB, free: 3.008 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.4751, allocations: 0.855 MB / 0.7038 GB, free: 2.125 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.4753, allocations: 43.25 kB / 0.7039 GB, free: 2.086 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.4756, allocations: 183.4 kB / 0.704 GB, free: 1.906 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4756, allocations: 0 / 0.704 GB, free: 1.906 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05642/0.532, allocations: 14.81 MB / 0.7185 GB, free: 3.105 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.14, allocations: 11.45 kB / 0.7185 GB, free: 3.098 MB / 494.1 MB " [Timeout remaining time 646] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.30140086496249] Failed to read output from testmodel.py, exit status != 0: 14.267826056107879 14.284197413 13.905741366 Calling exit ...