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.001047/0.001047, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.912/0.912, allocations: 177.1 MB / 199.4 MB, free: 5.93 MB / 186.7 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.001033/0.001033, allocations: 164.6 kB / 256 MB, free: 13.34 MB / 250.7 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.2769/0.2769, allocations: 80.36 MB / 392.7 MB, free: 2.371 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.5549 GB, free: 12.66 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.989e-05, allocations: 5.938 kB / 0.5549 GB, free: 12.65 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003161/0.003181, allocations: 3.374 MB / 0.5582 GB, free: 9.254 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.004753, allocations: 1.079 MB / 0.5593 GB, free: 8.172 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.004995, allocations: 7.938 kB / 0.5593 GB, free: 8.164 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.005306, allocations: 115.1 kB / 0.5594 GB, free: 8.051 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.005641, allocations: 214.3 kB / 0.5596 GB, free: 7.84 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.006439, allocations: 473.4 kB / 0.56 GB, free: 7.379 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005632/0.007002, allocations: 0.6689 MB / 0.5607 GB, free: 6.707 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.007204, allocations: 94.55 kB / 0.5608 GB, free: 6.609 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.007533, allocations: 394.9 kB / 0.5611 GB, free: 6.223 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.007812, allocations: 243.2 kB / 0.5614 GB, free: 5.984 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.095e-05/0.007863, allocations: 44 kB / 0.5614 GB, free: 5.941 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.008043, allocations: 95.91 kB / 0.5615 GB, free: 5.848 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.00811, allocations: 131.4 kB / 0.5616 GB, free: 5.719 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.008235, allocations: 179.4 kB / 0.5618 GB, free: 5.543 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.008856, allocations: 0.7202 MB / 0.5625 GB, free: 4.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.00886, allocations: 0 / 0.5625 GB, free: 4.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.008862, allocations: 0 / 0.5625 GB, free: 4.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.008869, allocations: 0 / 0.5625 GB, free: 4.82 MB / 490.7 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.001886/0.01076, allocations: 1.176 MB / 0.5637 GB, free: 3.613 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.0108, allocations: 12.03 kB / 0.5637 GB, free: 3.602 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.01093, allocations: 86.7 kB / 0.5638 GB, free: 3.508 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000854/0.01178, allocations: 288.3 kB / 0.564 GB, free: 3.227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.01232, allocations: 390.1 kB / 0.5644 GB, free: 2.816 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.01248, allocations: 267.2 kB / 0.5647 GB, free: 2.508 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.01253, allocations: 40.12 kB / 0.5647 GB, free: 2.469 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/0.01325, allocations: 0.5645 MB / 0.5652 GB, free: 1.891 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01326, allocations: 0 / 0.5652 GB, free: 1.891 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.01329, allocations: 16 kB / 0.5653 GB, free: 1.875 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.0133, allocations: 15.92 kB / 0.5653 GB, free: 1.859 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.01393, allocations: 475.8 kB / 0.5657 GB, free: 1.395 MB / 490.7 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.001725/0.01566, allocations: 1.282 MB / 0.567 GB, free: 64 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005133/0.02079, allocations: 2.01 MB / 0.5689 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/0.02119, allocations: 253.6 kB / 0.5692 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.02124, allocations: 8 kB / 0.5692 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005023/0.02174, allocations: 367 kB / 0.5695 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=40): time 1.963e-06/0.02175, allocations: 0 / 0.5695 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.003683/0.02543, allocations: 1.888 MB / 0.5714 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.02548, allocations: 85.09 kB / 0.5715 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.02583, allocations: 421.8 kB / 0.5719 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.02587, allocations: 33.7 kB / 0.5719 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.02603, allocations: 288.5 kB / 0.5722 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.685e-05/0.02613, allocations: 134.8 kB / 0.5723 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.02623, allocations: 74.2 kB / 0.5724 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.02633, allocations: 354.8 kB / 0.5727 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.02669, allocations: 260.9 kB / 0.573 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.02706, allocations: 303.4 kB / 0.5733 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006947/0.02775, allocations: 0.5491 MB / 0.5738 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.02776, allocations: 0 / 0.5738 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002177/0.02993, allocations: 1.337 MB / 0.5751 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.02995, allocations: 8 kB / 0.5751 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.02996, allocations: 0 / 0.5751 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.03133, allocations: 0.7096 MB / 0.5758 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.03148, allocations: 47.91 kB / 0.5758 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004283/0.03576, allocations: 4.372 MB / 0.5801 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.03616, allocations: 75.94 kB / 0.5802 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.03619, allocations: 8 kB / 0.5802 GB, free: 2.133 MB / 0.4948 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.0002324/0.03642, allocations: 181.6 kB / 0.5804 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.03648, allocations: 51.67 kB / 0.5804 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.03867, allocations: 1.311 MB / 0.5817 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.03867, allocations: 4 kB / 0.5817 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.03868, allocations: 0 / 0.5817 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.03868, allocations: 11.97 kB / 0.5817 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.03914, allocations: 0.4884 MB / 0.5822 GB, free: 12 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.03915, allocations: 0 / 0.5822 GB, free: 12 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.03925, allocations: 31.92 kB / 0.5822 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/0.04051, allocations: 0.7057 MB / 0.5829 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.04054, allocations: 11.98 kB / 0.5829 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003889/0.04443, allocations: 4.351 MB / 0.5872 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.04443, allocations: 80 / 0.5872 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.04663, allocations: 1.321 MB / 0.5885 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.04672, allocations: 51.59 kB / 0.5885 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.04677, allocations: 8.25 kB / 0.5885 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.04697, allocations: 51.94 kB / 0.5886 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.04719, allocations: 103.8 kB / 0.5887 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.04721, allocations: 12 kB / 0.5887 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002214/0.04743, allocations: 287.1 kB / 0.5889 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.04743, allocations: 0 / 0.5889 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004533/0.04788, allocations: 187.7 kB / 0.5891 GB, free: 8.633 MB / 0.5105 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.002318/0.0502, allocations: 1.849 MB / 0.5909 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001812/0.05201, allocations: 1.1 MB / 0.592 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.05202, allocations: 0 / 0.592 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.05318, allocations: 0.8148 MB / 0.5928 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.05351, allocations: 56.61 kB / 0.5929 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1775/0.2311, allocations: 5.926 MB / 0.5986 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.2312, allocations: 263.3 kB / 0.5989 GB, free: 92.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.2314, allocations: 35.3 kB / 0.5989 GB, free: 92.72 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.2316, allocations: 188.7 kB / 0.5991 GB, free: 92.72 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/0.2316, allocations: 0.5938 kB / 0.5991 GB, free: 92.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.2661, allocations: 15.66 MB / 0.6144 GB, free: 90.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.822/9.088, allocations: 1.375 kB / 0.6144 GB, free: 90.86 MB / 0.5105 GB " [Timeout remaining time 651] (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: 11.353544193319976] Failed to read output from testmodel.py, exit status != 0: 9.18550246488303 9.195294785 9.184481616 Calling exit ...