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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 108.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 225.6 MB / 244.8 MB, free: 14.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 198 kB / 299.8 MB, free: 9.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5426/0.5426, allocations: 99.65 MB / 454.4 MB, free: 5.039 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00237/0.00237, allocations: 91.86 kB / 0.6073 GB, free: 9.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1548, allocations: 76.93 MB / 0.6824 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.005416/0.1602, allocations: 3.694 MB / 0.686 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1626, allocations: 1.099 MB / 0.6871 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.1628, allocations: 15.94 kB / 0.6871 GB, free: 7.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.1632, allocations: 119 kB / 0.6872 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.1637, allocations: 206.5 kB / 0.6874 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.1649, allocations: 0.5128 MB / 0.6879 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008707/0.1658, allocations: 0.6498 MB / 0.6886 GB, free: 6.137 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.1661, allocations: 118 kB / 0.6887 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.1664, allocations: 274.8 kB / 0.689 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004808/0.1669, allocations: 314.5 kB / 0.6893 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.85e-05/0.1669, allocations: 44 kB / 0.6893 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.1672, allocations: 108 kB / 0.6894 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.1673, allocations: 119.5 kB / 0.6895 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003252/0.1676, allocations: 286.2 kB / 0.6898 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009174/0.1685, allocations: 0.7118 MB / 0.6905 GB, free: 4.168 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1685, allocations: 0 / 0.6905 GB, free: 4.168 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1685, allocations: 0 / 0.6905 GB, free: 4.168 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1685, allocations: 4 kB / 0.6905 GB, free: 4.164 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.003405/0.1719, allocations: 1.252 MB / 0.6917 GB, free: 2.863 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.172, allocations: 12.03 kB / 0.6917 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.1721, allocations: 82.7 kB / 0.6918 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.1738, allocations: 296.3 kB / 0.6921 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007832/0.1746, allocations: 450 kB / 0.6925 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.1748, allocations: 193.4 kB / 0.6927 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.1749, allocations: 40 kB / 0.6927 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.176, allocations: 0.5564 MB / 0.6933 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1761, allocations: 4 kB / 0.6933 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.1761, allocations: 19.98 kB / 0.6933 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.1761, allocations: 12 kB / 0.6933 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.1772, allocations: 479.2 kB / 0.6938 GB, free: 0.6602 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.326/0.5032, allocations: 2.079 MB / 0.6958 GB, free: 16.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.5132, allocations: 2.017 MB / 0.6978 GB, free: 16.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/0.5138, allocations: 251.8 kB / 0.698 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.5138, allocations: 5.875 kB / 0.698 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007035/0.5145, allocations: 376 kB / 0.6984 GB, free: 16.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=40): time 2.054e-06/0.5145, allocations: 0 / 0.6984 GB, free: 16.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.006331/0.5209, allocations: 2.187 MB / 0.7005 GB, free: 15.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.5209, allocations: 83.72 kB / 0.7006 GB, free: 15.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.5214, allocations: 417.9 kB / 0.701 GB, free: 15.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.5215, allocations: 36.14 kB / 0.701 GB, free: 15.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.5217, allocations: 279.9 kB / 0.7013 GB, free: 15.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.5218, allocations: 144.4 kB / 0.7014 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.5219, allocations: 69.91 kB / 0.7015 GB, free: 15.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.522, allocations: 362.5 kB / 0.7018 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/0.5225, allocations: 260.7 kB / 0.7021 GB, free: 15.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.5231, allocations: 309.3 kB / 0.7024 GB, free: 14.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.5241, allocations: 0.5411 MB / 0.7029 GB, free: 14.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5241, allocations: 0 / 0.7029 GB, free: 14.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003682/0.5278, allocations: 1.339 MB / 0.7042 GB, free: 14.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5278, allocations: 9.656 kB / 0.7042 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.5278, allocations: 0 / 0.7042 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/0.5302, allocations: 0.7109 MB / 0.7049 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.5304, allocations: 44.56 kB / 0.705 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00627/0.5367, allocations: 4.659 MB / 0.7095 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/0.5373, allocations: 73.36 kB / 0.7096 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.5373, allocations: 13.45 kB / 0.7096 GB, free: 10.57 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.0002576/0.5376, allocations: 168 kB / 0.7098 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.5377, allocations: 54.8 kB / 0.7098 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004063/0.5417, allocations: 1.312 MB / 0.7111 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.5417, allocations: 8.062 kB / 0.7111 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5417, allocations: 1.5 kB / 0.7111 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.5417, allocations: 2.953 kB / 0.7111 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007814/0.5425, allocations: 0.6312 MB / 0.7117 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5425, allocations: 0.875 kB / 0.7117 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.5427, allocations: 23.97 kB / 0.7117 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/0.5452, allocations: 0.7111 MB / 0.7124 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.5452, allocations: 6.422 kB / 0.7124 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006394/0.5516, allocations: 4.643 MB / 0.717 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.5516, allocations: 0.5312 kB / 0.717 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004399/0.556, allocations: 1.315 MB / 0.7183 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.5562, allocations: 134 kB / 0.7184 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/0.5563, allocations: 15.02 kB / 0.7184 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.5567, allocations: 44.06 kB / 0.7184 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003242/0.557, allocations: 97.88 kB / 0.7185 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.5571, allocations: 12.11 kB / 0.7185 GB, free: 5.324 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004129/0.5575, allocations: 292.4 kB / 0.7188 GB, free: 5.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5575, allocations: 0 / 0.7188 GB, free: 5.188 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007731/0.5582, allocations: 186.6 kB / 0.719 GB, free: 5.152 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.004076/0.5623, allocations: 1.853 MB / 0.7208 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002927/0.5653, allocations: 1.26 MB / 0.722 GB, free: 3.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5653, allocations: 0 / 0.722 GB, free: 3.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.5673, allocations: 0.9636 MB / 0.723 GB, free: 2.906 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.5678, allocations: 46 kB / 0.723 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.5803, allocations: 5.923 MB / 0.7288 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/0.5809, allocations: 0.8589 MB / 0.7296 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000166/0.5811, allocations: 39.11 kB / 0.7297 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.5813, allocations: 183.5 kB / 0.7299 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of SimCode: time 1.272e-06/0.5813, allocations: 0 / 0.7299 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05623/0.6376, allocations: 14.38 MB / 0.7439 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.43, allocations: 3.25 kB / 0.7439 GB, free: 6.355 MB / 0.4981 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: 16.68552674818784] Failed to read output from testmodel.py, exit status != 0: 13.527336412109435 13.54084585 13.369498577 Calling exit ...