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.0008214/0.0008214, 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.8913/0.8913, allocations: 177.2 MB / 199.4 MB, free: 5.914 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.001069/0.001069, allocations: 156.6 kB / 256 MB, free: 13.32 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2777/0.2777, allocations: 80.23 MB / 392.6 MB, free: 3.598 MB / 362.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.5547 GB, free: 384 kB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.414e-05, allocations: 9.172 kB / 0.5548 GB, free: 376 kB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003057/0.003071, allocations: 3.347 MB / 0.558 GB, free: 13.01 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.004528, allocations: 1.082 MB / 0.5591 GB, free: 11.93 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.004719, allocations: 11.94 kB / 0.5591 GB, free: 11.92 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.005002, allocations: 127.7 kB / 0.5592 GB, free: 11.79 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.00529, allocations: 215.2 kB / 0.5594 GB, free: 11.58 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007114/0.006002, allocations: 461.3 kB / 0.5599 GB, free: 11.13 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004662/0.006468, allocations: 0.6689 MB / 0.5605 GB, free: 10.46 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.006645, allocations: 102.5 kB / 0.5606 GB, free: 10.36 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.006982, allocations: 390.9 kB / 0.561 GB, free: 9.977 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.007229, allocations: 243.2 kB / 0.5612 GB, free: 9.738 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.611e-05/0.007276, allocations: 44 kB / 0.5613 GB, free: 9.695 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.007423, allocations: 103.9 kB / 0.5614 GB, free: 9.594 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.007489, allocations: 123.4 kB / 0.5615 GB, free: 9.473 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.007607, allocations: 179.4 kB / 0.5616 GB, free: 9.297 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005381/0.008145, allocations: 0.7241 MB / 0.5624 GB, free: 8.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.00815, allocations: 4 kB / 0.5624 GB, free: 8.566 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.008151, allocations: 0 / 0.5624 GB, free: 8.566 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.008156, allocations: 0 / 0.5624 GB, free: 8.566 MB / 442.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.001955/0.01011, allocations: 1.172 MB / 0.5635 GB, free: 7.359 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.01014, allocations: 11.97 kB / 0.5635 GB, free: 7.348 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.995e-05/0.01021, allocations: 86.7 kB / 0.5636 GB, free: 7.254 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008217/0.01104, allocations: 292.3 kB / 0.5639 GB, free: 6.969 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.01147, allocations: 374.2 kB / 0.5642 GB, free: 6.574 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.01162, allocations: 263.2 kB / 0.5645 GB, free: 6.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.01167, allocations: 48.12 kB / 0.5645 GB, free: 6.223 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006579/0.01232, allocations: 0.5605 MB / 0.5651 GB, free: 5.652 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.01233, allocations: 3.938 kB / 0.5651 GB, free: 5.648 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.01237, allocations: 16 kB / 0.5651 GB, free: 5.633 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.01237, allocations: 8 kB / 0.5651 GB, free: 5.625 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006054/0.01298, allocations: 479.8 kB / 0.5656 GB, free: 5.156 MB / 442.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.001516/0.0145, allocations: 1.282 MB / 0.5668 GB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005015/0.01951, allocations: 2.022 MB / 0.5688 GB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.01985, allocations: 249.6 kB / 0.569 GB, free: 1.531 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.01989, allocations: 4 kB / 0.569 GB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004565/0.02035, allocations: 375.1 kB / 0.5694 GB, free: 1.141 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 1.482e-06/0.02035, allocations: 0 / 0.5694 GB, free: 1.141 MB / 442.7 MB Notification: Performance of matching and sorting (n=40): time 0.003465/0.02382, allocations: 1.886 MB / 0.5712 GB, free: 15.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.02386, allocations: 81.11 kB / 0.5713 GB, free: 15.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.02415, allocations: 429.8 kB / 0.5717 GB, free: 14.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.655e-05/0.02423, allocations: 33.7 kB / 0.5717 GB, free: 14.67 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.02436, allocations: 280.5 kB / 0.572 GB, free: 14.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.147e-05/0.02444, allocations: 142.8 kB / 0.5721 GB, free: 14.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.684e-05/0.02454, allocations: 70.19 kB / 0.5722 GB, free: 14.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.02464, allocations: 358.8 kB / 0.5726 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.02498, allocations: 260.8 kB / 0.5728 GB, free: 13.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.02534, allocations: 307.4 kB / 0.5731 GB, free: 13.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007759/0.02612, allocations: 0.5404 MB / 0.5736 GB, free: 12.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02612, allocations: 0 / 0.5736 GB, free: 12.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002086/0.0282, allocations: 1.341 MB / 0.5749 GB, free: 11.35 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.02822, allocations: 4 kB / 0.5749 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.02822, allocations: 0 / 0.5749 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.02953, allocations: 0.7135 MB / 0.5756 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.02965, allocations: 39.92 kB / 0.5757 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004253/0.0339, allocations: 4.397 MB / 0.58 GB, free: 5.957 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.03413, allocations: 67.72 kB / 0.58 GB, free: 5.891 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.03416, allocations: 16 kB / 0.58 GB, free: 5.875 MB / 458.7 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.0001564/0.03431, allocations: 168.5 kB / 0.5802 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.03436, allocations: 51.67 kB / 0.5803 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.0365, allocations: 1.307 MB / 0.5815 GB, free: 4.328 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.03651, allocations: 8 kB / 0.5815 GB, free: 4.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.03651, allocations: 4 kB / 0.5815 GB, free: 4.316 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.03652, allocations: 3.984 kB / 0.5816 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.03691, allocations: 0.4885 MB / 0.582 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.03691, allocations: 0 / 0.582 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.686e-05/0.03699, allocations: 31.92 kB / 0.5821 GB, free: 3.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/0.03822, allocations: 0.7018 MB / 0.5827 GB, free: 3.035 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.03824, allocations: 12 kB / 0.5828 GB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/0.04216, allocations: 4.345 MB / 0.587 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.04216, allocations: 8.125 kB / 0.587 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.04422, allocations: 1.311 MB / 0.5883 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.04427, allocations: 63.53 kB / 0.5883 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.0443, allocations: 11.98 kB / 0.5884 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.0445, allocations: 43.95 kB / 0.5884 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.04467, allocations: 99.81 kB / 0.5885 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.04469, allocations: 12 kB / 0.5885 GB, free: 12.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001961/0.04489, allocations: 295.1 kB / 0.5888 GB, free: 12.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04489, allocations: 0 / 0.5888 GB, free: 12.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.04525, allocations: 191.7 kB / 0.589 GB, free: 12.4 MB / 474.7 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.002268/0.04752, allocations: 1.845 MB / 0.5908 GB, free: 10.51 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.04933, allocations: 1.104 MB / 0.5919 GB, free: 9.371 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.04933, allocations: 0 / 0.5919 GB, free: 9.371 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.05042, allocations: 0.8265 MB / 0.5927 GB, free: 8.512 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.05067, allocations: 49.84 kB / 0.5927 GB, free: 8.465 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007383/0.05806, allocations: 5.925 MB / 0.5985 GB, free: 2.418 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.0582, allocations: 258.9 kB / 0.5987 GB, free: 2.137 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.88e-05/0.05828, allocations: 39.27 kB / 0.5988 GB, free: 2.094 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.05845, allocations: 184.4 kB / 0.599 GB, free: 1.91 MB / 474.7 MB Notification: Performance of SimCode: time 6.11e-07/0.05845, allocations: 0 / 0.599 GB, free: 1.91 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.08636, allocations: 15.66 MB / 0.6142 GB, free: 2.418 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/8.549, allocations: 2.188 kB / 0.6142 GB, free: 2.418 MB / 490.7 MB " [Timeout remaining time 651] (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: 10.895584465004504] Failed to read output from testmodel.py, exit status != 0: 8.646489966660738 8.827981005 8.818261162 Calling exit ...