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.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.001804/0.001804, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 253.4 MB, free: 14.48 MB / 206.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.001468/0.001468, allocations: 223.9 kB / 310 MB, free: 3.121 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.573/0.573, allocations: 101.3 MB / 467.8 MB, free: 30.5 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 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.002299/0.002299, allocations: 78.38 kB / 0.6251 GB, free: 33.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1324, allocations: 78.63 MB / 0.7019 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004888/0.1373, allocations: 3.719 MB / 0.7055 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.1394, allocations: 1.149 MB / 0.7067 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.1396, allocations: 11.94 kB / 0.7067 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.14, allocations: 131 kB / 0.7068 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.1404, allocations: 202.5 kB / 0.707 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.1415, allocations: 481 kB / 0.7075 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008683/0.1423, allocations: 0.6536 MB / 0.7081 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.1426, allocations: 110.6 kB / 0.7082 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.1429, allocations: 282.8 kB / 0.7085 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004915/0.1434, allocations: 314.5 kB / 0.7088 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.1435, allocations: 44 kB / 0.7088 GB, free: 9.984 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.1438, allocations: 108 kB / 0.7089 GB, free: 9.879 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1439, allocations: 115.5 kB / 0.709 GB, free: 9.766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.1442, allocations: 282.3 kB / 0.7093 GB, free: 9.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008899/0.1451, allocations: 0.7118 MB / 0.71 GB, free: 8.773 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1451, allocations: 0 / 0.71 GB, free: 8.773 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1451, allocations: 0 / 0.71 GB, free: 8.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1451, allocations: 0 / 0.71 GB, free: 8.773 MB / 494.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.003377/0.1485, allocations: 1.18 MB / 0.7111 GB, free: 7.562 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1485, allocations: 16.03 kB / 0.7112 GB, free: 7.547 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.598e-05/0.1485, allocations: 13.19 kB / 0.7112 GB, free: 7.535 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.1486, allocations: 86.64 kB / 0.7112 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.1503, allocations: 296.2 kB / 0.7115 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.151, allocations: 374.7 kB / 0.7119 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002801/0.1513, allocations: 266.6 kB / 0.7121 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.635e-05/0.1514, allocations: 44 kB / 0.7122 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.1525, allocations: 0.5524 MB / 0.7127 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1525, allocations: 11.98 kB / 0.7127 GB, free: 5.832 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.1526, allocations: 19.98 kB / 0.7128 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1526, allocations: 8 kB / 0.7128 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.1536, allocations: 479.2 kB / 0.7132 GB, free: 5.336 MB / 494.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.002952/0.1566, allocations: 2.051 MB / 0.7152 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.1675, allocations: 2.01 MB / 0.7172 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/0.1681, allocations: 258.2 kB / 0.7174 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.092e-05/0.1681, allocations: 4 kB / 0.7174 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007763/0.1689, allocations: 375.7 kB / 0.7178 GB, free: 416 kB / 494.1 MB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.1689, allocations: 0 / 0.7178 GB, free: 416 kB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.006844/0.1757, allocations: 1.897 MB / 0.7196 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.1758, allocations: 85.11 kB / 0.7197 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005613/0.1764, allocations: 414 kB / 0.7201 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.1764, allocations: 33.7 kB / 0.7202 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.1767, allocations: 288.5 kB / 0.7204 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.1768, allocations: 134.8 kB / 0.7206 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.177, allocations: 74.12 kB / 0.7206 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.1772, allocations: 358.8 kB / 0.721 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005955/0.1778, allocations: 260.7 kB / 0.7212 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.1784, allocations: 306.7 kB / 0.7215 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.1796, allocations: 0.5442 MB / 0.722 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1796, allocations: 0 / 0.722 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004194/0.1838, allocations: 1.331 MB / 0.7233 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1838, allocations: 12 kB / 0.7234 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1838, allocations: 3.984 kB / 0.7234 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/0.1864, allocations: 0.7096 MB / 0.724 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.1866, allocations: 51.84 kB / 0.7241 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007294/0.1939, allocations: 4.447 MB / 0.7284 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/0.1945, allocations: 67.75 kB / 0.7285 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.1946, allocations: 12 kB / 0.7285 GB, free: 5.07 MB / 0.4981 GB 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.0002911/0.1949, allocations: 174 kB / 0.7287 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.195, allocations: 55.61 kB / 0.7287 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004165/0.1991, allocations: 1.312 MB / 0.73 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.1991, allocations: 7.984 kB / 0.73 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.1992, allocations: 4 kB / 0.73 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.1992, allocations: 7.922 kB / 0.73 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007682/0.1999, allocations: 0.5937 MB / 0.7306 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1999, allocations: 0 / 0.7306 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.2001, allocations: 27.98 kB / 0.7306 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/0.2027, allocations: 0.7096 MB / 0.7313 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.2027, allocations: 8 kB / 0.7313 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007196/0.2099, allocations: 4.419 MB / 0.7357 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.2099, allocations: 11.86 kB / 0.7357 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004203/0.2141, allocations: 1.311 MB / 0.737 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.2143, allocations: 59.53 kB / 0.737 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.2143, allocations: 8 kB / 0.737 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.2148, allocations: 39.95 kB / 0.7371 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.215, allocations: 103.8 kB / 0.7372 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.2151, allocations: 12 kB / 0.7372 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003454/0.2154, allocations: 299.1 kB / 0.7374 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2154, allocations: 0 / 0.7374 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006074/0.216, allocations: 183.8 kB / 0.7376 GB, free: 11.4 MB / 0.5137 GB 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.004465/0.2205, allocations: 1.842 MB / 0.7394 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003153/0.2236, allocations: 1.119 MB / 0.7405 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2236, allocations: 4 kB / 0.7405 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002301/0.2259, allocations: 0.8186 MB / 0.7413 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.2264, allocations: 49.91 kB / 0.7414 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.2397, allocations: 5.921 MB / 0.7471 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.2403, allocations: 0.8589 MB / 0.748 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001319/0.2404, allocations: 35.28 kB / 0.748 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.2407, allocations: 191.4 kB / 0.7482 GB, free: 316 kB / 0.5137 GB Notification: Performance of SimCode: time 8.91e-07/0.2407, allocations: 0 / 0.7482 GB, free: 316 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04439/0.2851, allocations: 14.85 MB / 0.7627 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.46, allocations: 5.125 kB / 0.7627 GB, free: 1.574 MB / 0.5294 GB " [Timeout remaining time 646] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_dev_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.02010538696777] Failed to read output from testmodel.py, exit status != 0: 13.637599962064996 13.664620192 13.514327567 Calling exit ...