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.001367/0.001367, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.391/1.391, allocations: 230.6 MB / 253.5 MB, free: 14.49 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.001455/0.001455, allocations: 211 kB / 310 MB, free: 2.996 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.5749/0.5749, allocations: 101.3 MB / 467.7 MB, free: 32.12 MB / 350.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.003878/0.003878, allocations: 88.09 kB / 0.625 GB, free: 33.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1538, allocations: 78.61 MB / 0.7018 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.004789/0.1586, allocations: 3.353 MB / 0.7051 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1607, allocations: 1.083 MB / 0.7061 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.1609, allocations: 11.94 kB / 0.7062 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.1613, allocations: 131 kB / 0.7063 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004169/0.1617, allocations: 206.5 kB / 0.7065 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1628, allocations: 458 kB / 0.7069 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007332/0.1635, allocations: 0.6497 MB / 0.7075 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.1638, allocations: 106.6 kB / 0.7076 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.1641, allocations: 286.7 kB / 0.7079 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004263/0.1645, allocations: 310.5 kB / 0.7082 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.1646, allocations: 48 kB / 0.7083 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.1648, allocations: 111.9 kB / 0.7084 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1649, allocations: 115.5 kB / 0.7085 GB, free: 9.992 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.1652, allocations: 222.7 kB / 0.7087 GB, free: 9.773 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008558/0.166, allocations: 0.7273 MB / 0.7094 GB, free: 9.043 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.166, allocations: 4 kB / 0.7094 GB, free: 9.039 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.166, allocations: 0 / 0.7094 GB, free: 9.039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.166, allocations: 0 / 0.7094 GB, free: 9.039 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.00332/0.1694, allocations: 1.173 MB / 0.7106 GB, free: 7.836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1694, allocations: 8.031 kB / 0.7106 GB, free: 7.828 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.592e-05/0.1694, allocations: 13.19 kB / 0.7106 GB, free: 7.816 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.625e-05/0.1695, allocations: 82.7 kB / 0.7107 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.1712, allocations: 308.2 kB / 0.7109 GB, free: 7.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007072/0.1719, allocations: 378.7 kB / 0.7113 GB, free: 7.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.1721, allocations: 270.6 kB / 0.7116 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.767e-05/0.1722, allocations: 40 kB / 0.7116 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.1733, allocations: 0.5564 MB / 0.7121 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1734, allocations: 0 / 0.7121 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.555e-05/0.1734, allocations: 20 kB / 0.7122 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.1734, allocations: 8 kB / 0.7122 GB, free: 6.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009926/0.1744, allocations: 483.2 kB / 0.7126 GB, free: 5.609 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.002537/0.177, allocations: 1.27 MB / 0.7139 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/0.1874, allocations: 2.026 MB / 0.7159 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005792/0.188, allocations: 250.3 kB / 0.7161 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.486e-05/0.1881, allocations: 8 kB / 0.7161 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007888/0.1889, allocations: 375.6 kB / 0.7165 GB, free: 1.598 MB / 494.1 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.1889, allocations: 0 / 0.7165 GB, free: 1.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.006595/0.1955, allocations: 1.89 MB / 0.7183 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.1955, allocations: 85.05 kB / 0.7184 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.1961, allocations: 418 kB / 0.7188 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.1961, allocations: 33.7 kB / 0.7188 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.1963, allocations: 284.5 kB / 0.7191 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.1965, allocations: 138.8 kB / 0.7192 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.1967, allocations: 70.12 kB / 0.7193 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1968, allocations: 358.8 kB / 0.7196 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/0.1974, allocations: 260.7 kB / 0.7199 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/0.198, allocations: 302.8 kB / 0.7202 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.1991, allocations: 0.5451 MB / 0.7207 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1991, allocations: 4 kB / 0.7207 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003949/0.2031, allocations: 1.33 MB / 0.722 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2031, allocations: 4 kB / 0.722 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2031, allocations: 4 kB / 0.722 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002468/0.2056, allocations: 0.7019 MB / 0.7227 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.2058, allocations: 51.86 kB / 0.7227 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007229/0.213, allocations: 4.397 MB / 0.727 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/0.2136, allocations: 63.75 kB / 0.7271 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.065e-05/0.2136, allocations: 12.39 kB / 0.7271 GB, free: 6.34 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.0003044/0.214, allocations: 170 kB / 0.7273 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.2141, allocations: 55.66 kB / 0.7273 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004105/0.2182, allocations: 1.316 MB / 0.7286 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.2182, allocations: 4 kB / 0.7286 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2182, allocations: 0 / 0.7286 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.2182, allocations: 8.188 kB / 0.7286 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006911/0.2189, allocations: 496.2 kB / 0.7291 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.2189, allocations: 4 kB / 0.7291 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.2191, allocations: 24 kB / 0.7291 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/0.2215, allocations: 0.7096 MB / 0.7298 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.2216, allocations: 4 kB / 0.7298 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007144/0.2287, allocations: 4.359 MB / 0.7341 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2287, allocations: 7.938 kB / 0.7341 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003997/0.2327, allocations: 1.314 MB / 0.7354 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.2328, allocations: 55.53 kB / 0.7354 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.2329, allocations: 12 kB / 0.7354 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.2334, allocations: 39.95 kB / 0.7355 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/0.2336, allocations: 115.7 kB / 0.7356 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.2337, allocations: 12 kB / 0.7356 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003473/0.234, allocations: 287.1 kB / 0.7359 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.234, allocations: 0 / 0.7359 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000663/0.2347, allocations: 187.7 kB / 0.736 GB, free: 12.85 MB / 0.5137 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.004263/0.239, allocations: 1.846 MB / 0.7378 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003072/0.242, allocations: 1.111 MB / 0.7389 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.242, allocations: 3.938 kB / 0.7389 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.2444, allocations: 0.8266 MB / 0.7397 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.2449, allocations: 48.14 kB / 0.7398 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.258, allocations: 5.92 MB / 0.7456 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.2583, allocations: 258.9 kB / 0.7458 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001365/0.2584, allocations: 39.27 kB / 0.7459 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.2587, allocations: 183.4 kB / 0.746 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.2587, allocations: 3.938 kB / 0.746 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/0.3045, allocations: 15.08 MB / 0.7608 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/13.9, allocations: 4.062 kB / 0.7608 GB, free: 3.422 MB / 0.5294 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: 17.29183796502184] Failed to read output from testmodel.py, exit status != 0: 14.074225120944902 14.098845059 13.928375543 Calling exit ...