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.001713/0.001713, allocations: 116.9 kB / 17.17 MB, free: 5.906 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.439/1.439, allocations: 230.6 MB / 250.5 MB, free: 9.246 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.001858/0.001858, allocations: 210 kB / 306.7 MB, free: 4.309 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.5505/0.5505, allocations: 101.3 MB / 464.1 MB, free: 11.92 MB / 334.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.003847/0.003847, allocations: 90.06 kB / 0.6199 GB, free: 15.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.194, allocations: 78.57 MB / 0.6967 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.284/0.478, allocations: 3.701 MB / 0.7003 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.48, allocations: 1.139 MB / 0.7014 GB, free: 6.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003121/0.4803, allocations: 15 kB / 0.7014 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.4807, allocations: 126.3 kB / 0.7015 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004155/0.4811, allocations: 202.9 kB / 0.7017 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.4822, allocations: 484.7 kB / 0.7022 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007276/0.483, allocations: 0.6513 MB / 0.7028 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.4832, allocations: 110.2 kB / 0.7029 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.4835, allocations: 274.4 kB / 0.7032 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.4838, allocations: 322.5 kB / 0.7035 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.377e-05/0.4839, allocations: 46.16 kB / 0.7035 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.4842, allocations: 106 kB / 0.7036 GB, free: 5.355 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.328e-05/0.4842, allocations: 116.1 kB / 0.7037 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.4844, allocations: 288.4 kB / 0.704 GB, free: 5.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000718/0.4852, allocations: 0.7122 MB / 0.7047 GB, free: 4.746 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4852, allocations: 1.188 kB / 0.7047 GB, free: 4.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4852, allocations: 0 / 0.7047 GB, free: 4.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.4852, allocations: 0 / 0.7047 GB, free: 4.746 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.003205/0.4884, allocations: 1.246 MB / 0.7059 GB, free: 4.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.4884, allocations: 14.31 kB / 0.706 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.957e-05/0.4885, allocations: 10 kB / 0.706 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.006e-05/0.4885, allocations: 95.77 kB / 0.7061 GB, free: 3.938 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.4902, allocations: 295.8 kB / 0.7063 GB, free: 3.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.4908, allocations: 456.7 kB / 0.7068 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.491, allocations: 186.7 kB / 0.7069 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/0.4911, allocations: 39.19 kB / 0.707 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009874/0.492, allocations: 0.5602 MB / 0.7075 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.4921, allocations: 0 / 0.7075 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.4921, allocations: 19.22 kB / 0.7075 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.4921, allocations: 11.64 kB / 0.7076 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008993/0.493, allocations: 478.1 kB / 0.708 GB, free: 2.926 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.002517/0.4955, allocations: 2.082 MB / 0.7101 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/0.5062, allocations: 2.02 MB / 0.712 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.5068, allocations: 253.7 kB / 0.7123 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-05/0.5068, allocations: 5.484 kB / 0.7123 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007018/0.5075, allocations: 374.7 kB / 0.7126 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=40): time 2.545e-06/0.5075, allocations: 3.031 kB / 0.7126 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.006607/0.5141, allocations: 2.186 MB / 0.7148 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.99e-05/0.5142, allocations: 84.81 kB / 0.7148 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/0.5148, allocations: 413.8 kB / 0.7152 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.455e-05/0.5149, allocations: 37.27 kB / 0.7153 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.5151, allocations: 279.2 kB / 0.7155 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.5153, allocations: 143.9 kB / 0.7157 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.5154, allocations: 71.78 kB / 0.7157 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.5156, allocations: 361.5 kB / 0.7161 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000606/0.5162, allocations: 258.9 kB / 0.7163 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/0.5169, allocations: 310.1 kB / 0.7166 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.5181, allocations: 0.5498 MB / 0.7172 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5182, allocations: 0.7812 kB / 0.7172 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004413/0.5226, allocations: 1.334 MB / 0.7185 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.5226, allocations: 5.156 kB / 0.7185 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.5226, allocations: 1.062 kB / 0.7185 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002797/0.5254, allocations: 0.715 MB / 0.7192 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.5257, allocations: 44.5 kB / 0.7192 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008686/0.5343, allocations: 4.664 MB / 0.7238 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000748/0.5351, allocations: 72.5 kB / 0.7238 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.5351, allocations: 13.7 kB / 0.7239 GB, free: 10.23 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.0003414/0.5355, allocations: 169.2 kB / 0.724 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.5356, allocations: 52.27 kB / 0.7241 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004454/0.54, allocations: 1.31 MB / 0.7254 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.5401, allocations: 8.656 kB / 0.7254 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.5401, allocations: 5.391 kB / 0.7254 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.5401, allocations: 5.953 kB / 0.7254 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000962/0.541, allocations: 0.625 MB / 0.726 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.541, allocations: 1.219 kB / 0.726 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.5412, allocations: 23.38 kB / 0.726 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002621/0.5438, allocations: 0.7077 MB / 0.7267 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.353e-05/0.5439, allocations: 6.438 kB / 0.7267 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007563/0.5514, allocations: 4.647 MB / 0.7312 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.5515, allocations: 9.25 kB / 0.7312 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004356/0.5558, allocations: 1.306 MB / 0.7325 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.556, allocations: 129.5 kB / 0.7326 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.743e-05/0.5561, allocations: 7.062 kB / 0.7327 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.5566, allocations: 48.11 kB / 0.7327 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/0.5569, allocations: 103.5 kB / 0.7328 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.5569, allocations: 10.97 kB / 0.7328 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003619/0.5573, allocations: 291.3 kB / 0.7331 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5573, allocations: 0 / 0.7331 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006956/0.558, allocations: 179.2 kB / 0.7333 GB, free: 4.164 MB / 0.4981 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.004859/0.5628, allocations: 1.851 MB / 0.7351 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003699/0.5665, allocations: 1.266 MB / 0.7363 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5665, allocations: 1.125 kB / 0.7363 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002559/0.5691, allocations: 0.968 MB / 0.7372 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.5696, allocations: 43.53 kB / 0.7373 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.5835, allocations: 5.922 MB / 0.7431 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/0.584, allocations: 0.8594 MB / 0.7439 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.5842, allocations: 34.64 kB / 0.7439 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.5845, allocations: 187.8 kB / 0.7441 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.443e-06/0.5845, allocations: 4 kB / 0.7441 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04422/0.6287, allocations: 14.41 MB / 0.7582 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.89, allocations: 0.6562 kB / 0.7582 GB, free: 1.996 MB / 0.5137 GB " [Timeout remaining time 647] (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.204951524036005] Failed to read output from testmodel.py, exit status != 0: 13.045594091003295 13.058677877 12.5706782 Calling exit ...