Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001455/0.001455, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.445/1.445, allocations: 230.6 MB / 250.5 MB, free: 9.199 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.001551/0.001551, allocations: 215.3 kB / 306.7 MB, free: 4.305 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4334/0.4334, allocations: 79.7 MB / 442.5 MB, free: 156 kB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Events_TestBreaker",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_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.002392/0.002392, allocations: 83.86 kB / 0.5885 GB, free: 1.621 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1361, allocations: 73.26 MB / 0.66 GB, free: 8.266 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004836/0.1409, allocations: 3.693 MB / 0.6636 GB, free: 4.543 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.1431, allocations: 1.138 MB / 0.6647 GB, free: 3.402 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.1434, allocations: 11.94 kB / 0.6647 GB, free: 3.391 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.1438, allocations: 135 kB / 0.6649 GB, free: 3.258 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.1442, allocations: 202.5 kB / 0.6651 GB, free: 3.059 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.1453, allocations: 469.4 kB / 0.6655 GB, free: 2.602 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000712/0.146, allocations: 0.6536 MB / 0.6661 GB, free: 1.945 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.1462, allocations: 97.95 kB / 0.6662 GB, free: 1.836 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.1465, allocations: 286.7 kB / 0.6665 GB, free: 1.555 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003904/0.1469, allocations: 310.5 kB / 0.6668 GB, free: 1.25 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/0.147, allocations: 47.94 kB / 0.6669 GB, free: 1.203 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.1472, allocations: 112 kB / 0.667 GB, free: 1.094 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1473, allocations: 119.5 kB / 0.6671 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.1475, allocations: 286.2 kB / 0.6673 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008004/0.1483, allocations: 0.7119 MB / 0.668 GB, free: 15.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1483, allocations: 0 / 0.668 GB, free: 15.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1483, allocations: 0 / 0.668 GB, free: 15.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1483, allocations: 0 / 0.668 GB, free: 15.98 MB / 478.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.003353/0.1517, allocations: 1.251 MB / 0.6693 GB, free: 14.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1517, allocations: 8.031 kB / 0.6693 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.651e-05/0.1517, allocations: 13.19 kB / 0.6693 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.336e-05/0.1518, allocations: 90.64 kB / 0.6694 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.1535, allocations: 292.3 kB / 0.6696 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006863/0.1542, allocations: 461.7 kB / 0.6701 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.1544, allocations: 189.5 kB / 0.6703 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.1545, allocations: 36 kB / 0.6703 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.1556, allocations: 0.5564 MB / 0.6708 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1556, allocations: 0 / 0.6708 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.1557, allocations: 16 kB / 0.6709 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1557, allocations: 12 kB / 0.6709 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.1567, allocations: 487.2 kB / 0.6713 GB, free: 12.46 MB / 478.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.002937/0.1596, allocations: 2.086 MB / 0.6734 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/0.1708, allocations: 2.018 MB / 0.6753 GB, free: 8.129 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.1714, allocations: 253.6 kB / 0.6756 GB, free: 7.875 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-05/0.1715, allocations: 4 kB / 0.6756 GB, free: 7.871 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007875/0.1723, allocations: 375.7 kB / 0.6759 GB, free: 7.484 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 1.904e-06/0.1723, allocations: 0 / 0.6759 GB, free: 7.484 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.007115/0.1794, allocations: 2.188 MB / 0.6781 GB, free: 5.203 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.1795, allocations: 81.11 kB / 0.6782 GB, free: 5.105 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.18, allocations: 421.9 kB / 0.6786 GB, free: 4.684 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.1801, allocations: 33.7 kB / 0.6786 GB, free: 4.645 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.1803, allocations: 280.5 kB / 0.6789 GB, free: 4.367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.1805, allocations: 138.8 kB / 0.679 GB, free: 4.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.1806, allocations: 74.12 kB / 0.6791 GB, free: 4.152 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1808, allocations: 362.8 kB / 0.6794 GB, free: 3.789 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006022/0.1814, allocations: 256.7 kB / 0.6797 GB, free: 3.539 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006462/0.1821, allocations: 310.8 kB / 0.68 GB, free: 3.227 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.1833, allocations: 0.554 MB / 0.6805 GB, free: 2.668 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1833, allocations: 0 / 0.6805 GB, free: 2.668 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004251/0.1875, allocations: 1.335 MB / 0.6818 GB, free: 1.312 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1875, allocations: 4 kB / 0.6818 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.1875, allocations: 4 kB / 0.6818 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002682/0.1902, allocations: 0.7057 MB / 0.6825 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.1905, allocations: 47.86 kB / 0.6825 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007511/0.198, allocations: 4.662 MB / 0.6871 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/0.1985, allocations: 67.8 kB / 0.6872 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.1986, allocations: 16 kB / 0.6872 GB, free: 11.52 MB / 494.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.0002611/0.1988, allocations: 180.5 kB / 0.6873 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.761e-05/0.1989, allocations: 51.67 kB / 0.6874 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00429/0.2032, allocations: 1.31 MB / 0.6887 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.2032, allocations: 8 kB / 0.6887 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2032, allocations: 0 / 0.6887 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.2032, allocations: 7.922 kB / 0.6887 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007943/0.204, allocations: 0.622 MB / 0.6893 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.204, allocations: 4 kB / 0.6893 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.2042, allocations: 27.92 kB / 0.6893 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002626/0.2068, allocations: 0.7057 MB / 0.69 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.2069, allocations: 8 kB / 0.69 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007217/0.2141, allocations: 4.633 MB / 0.6946 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.2141, allocations: 3.938 kB / 0.6946 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004304/0.2184, allocations: 1.317 MB / 0.6958 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.2186, allocations: 129 kB / 0.696 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.57e-05/0.2186, allocations: 8 kB / 0.696 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.2191, allocations: 47.95 kB / 0.696 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/0.2194, allocations: 107.8 kB / 0.6961 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.2194, allocations: 12 kB / 0.6961 GB, free: 1.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003366/0.2197, allocations: 287.1 kB / 0.6964 GB, free: 1.652 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2197, allocations: 4 kB / 0.6964 GB, free: 1.648 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000593/0.2203, allocations: 179.8 kB / 0.6966 GB, free: 1.473 MB / 494.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.2515/0.4718, allocations: 1.845 MB / 0.6984 GB, free: 36.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00323/0.4751, allocations: 1.262 MB / 0.6996 GB, free: 36.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4751, allocations: 0 / 0.6996 GB, free: 36.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.4774, allocations: 0.975 MB / 0.7006 GB, free: 35.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.4779, allocations: 46.12 kB / 0.7006 GB, free: 35.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.4914, allocations: 5.909 MB / 0.7064 GB, free: 34.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.4918, allocations: 0.8576 MB / 0.7072 GB, free: 33.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001485/0.4919, allocations: 38.95 kB / 0.7073 GB, free: 33.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.4922, allocations: 186.2 kB / 0.7074 GB, free: 33.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4922, allocations: 0 / 0.7074 GB, free: 33.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04236/0.5345, allocations: 14.41 MB / 0.7215 GB, free: 30.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.35, allocations: 13.38 kB / 0.7215 GB, free: 30.01 MB / 494.1 MB " [Timeout remaining time 646] (rm -f OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.52332610398298] Failed to read output from testmodel.py, exit status != 0: 13.506639682978857 13.523197458 13.371903617 Calling exit ...