Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.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.0008441/0.0008441, 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.8484/0.8484, allocations: 177.1 MB / 199.4 MB, free: 5.934 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.000963/0.000963, allocations: 155.4 kB / 256 MB, free: 13.35 MB / 250.7 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.2625/0.2625, allocations: 80.36 MB / 392.7 MB, free: 2.375 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.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.Branches.Generic.ULTC,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.Generic.ULTC,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5549 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.973e-05, allocations: 2.281 kB / 0.5549 GB, free: 12.26 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.003325/0.003345, allocations: 3.952 MB / 0.5588 GB, free: 8.289 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.005172, allocations: 1.231 MB / 0.56 GB, free: 7.055 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.005407, allocations: 4 kB / 0.56 GB, free: 7.051 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.005725, allocations: 150.7 kB / 0.5601 GB, free: 6.902 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.006133, allocations: 269.8 kB / 0.5604 GB, free: 6.637 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.006935, allocations: 0.5237 MB / 0.5609 GB, free: 6.117 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005614/0.007496, allocations: 0.8326 MB / 0.5617 GB, free: 5.281 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.007697, allocations: 138.2 kB / 0.5619 GB, free: 5.133 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004743/0.008171, allocations: 486.7 kB / 0.5623 GB, free: 4.656 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.008471, allocations: 315 kB / 0.5626 GB, free: 4.348 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.008533, allocations: 64 kB / 0.5627 GB, free: 4.285 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.008752, allocations: 131.8 kB / 0.5628 GB, free: 4.156 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.868e-05/0.008841, allocations: 167.3 kB / 0.563 GB, free: 3.992 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.009001, allocations: 259.2 kB / 0.5632 GB, free: 3.738 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006201/0.009621, allocations: 0.9383 MB / 0.5641 GB, free: 2.797 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.009623, allocations: 4 kB / 0.5641 GB, free: 2.793 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.009624, allocations: 0 / 0.5641 GB, free: 2.793 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.009634, allocations: 0 / 0.5641 GB, free: 2.793 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002308/0.01194, allocations: 1.614 MB / 0.5657 GB, free: 1.137 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.000254/0.0122, allocations: 8.031 kB / 0.5657 GB, free: 1.129 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.59e-05/0.01228, allocations: 106.6 kB / 0.5658 GB, free: 1.016 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.01351, allocations: 435.3 kB / 0.5662 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.01394, allocations: 443.5 kB / 0.5667 GB, free: 132 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1723/0.1862, allocations: 276.7 kB / 0.5669 GB, free: 24.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.1865, allocations: 53.66 kB / 0.567 GB, free: 24.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.1875, allocations: 0.6917 MB / 0.5676 GB, free: 24.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1875, allocations: 1 kB / 0.5676 GB, free: 24.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.1875, allocations: 22.98 kB / 0.5677 GB, free: 24.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.1876, allocations: 13.38 kB / 0.5677 GB, free: 24.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009305/0.1885, allocations: 0.6792 MB / 0.5683 GB, free: 24.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/0.1912, allocations: 1.779 MB / 0.5701 GB, free: 23.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004123/0.1953, allocations: 1.748 MB / 0.5718 GB, free: 22.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000793/0.1961, allocations: 435.2 kB / 0.5722 GB, free: 22.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.291e-05/0.1962, allocations: 10.98 kB / 0.5722 GB, free: 22.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008119/0.197, allocations: 0.5292 MB / 0.5727 GB, free: 22.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=75): time 3.016e-06/0.197, allocations: 0 / 0.5727 GB, free: 22.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.007241/0.2043, allocations: 3.358 MB / 0.576 GB, free: 21.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2043, allocations: 60.59 kB / 0.5761 GB, free: 21.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.2048, allocations: 0.5235 MB / 0.5766 GB, free: 21.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.615e-05/0.2048, allocations: 39.72 kB / 0.5766 GB, free: 21.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.205, allocations: 331.3 kB / 0.5769 GB, free: 21.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.2051, allocations: 265.3 kB / 0.5772 GB, free: 21.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.2053, allocations: 125.6 kB / 0.5773 GB, free: 20.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.2054, allocations: 383.2 kB / 0.5777 GB, free: 20.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/0.206, allocations: 403.8 kB / 0.5781 GB, free: 20.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.2067, allocations: 0.5084 MB / 0.5786 GB, free: 20.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004925/0.2116, allocations: 2.521 MB / 0.581 GB, free: 19.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.2116, allocations: 0.5625 kB / 0.581 GB, free: 19.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00411/0.2157, allocations: 2.23 MB / 0.5832 GB, free: 18.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.2157, allocations: 5.25 kB / 0.5832 GB, free: 18.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2157, allocations: 3.375 kB / 0.5832 GB, free: 18.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/0.2179, allocations: 1.008 MB / 0.5842 GB, free: 18.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.2182, allocations: 108.8 kB / 0.5843 GB, free: 18.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005482/0.2237, allocations: 4.307 MB / 0.5885 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.2242, allocations: 102.4 kB / 0.5886 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.2242, allocations: 28.03 kB / 0.5886 GB, free: 15.92 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: ultc.y3l0:DISCRETE(fixed = true ) \"Loop breaker for when-clauses\" type: Boolean ultc.y2l0:DISCRETE(fixed = true ) \"Loop breaker for when-clauses\" type: Boolean load.xp:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real load.xq:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.ultc.zeroCrossing.enable,$PRE.ultc.zeroCrossing.u_pos,$PRE.ultc.zeroCrossing.disable,$PRE.ultc.y3l0,$PRE.ultc.y2l0,ultc.zeroCrossing.enable,ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.zeroCrossing.y,$whenCondition2,$whenCondition1,ultc.y3l0,ultc.y2l0,ultc.m,$PRE.ultc.m) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002815/0.2245, allocations: 210.4 kB / 0.5888 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.525e-05/0.2246, allocations: 87.48 kB / 0.5889 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.2283, allocations: 2.161 MB / 0.591 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.2283, allocations: 7.844 kB / 0.591 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2283, allocations: 4.359 kB / 0.591 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.2283, allocations: 3.984 kB / 0.591 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004419/0.2328, allocations: 2.877 MB / 0.5938 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.2328, allocations: 1.281 kB / 0.5938 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.233, allocations: 77.33 kB / 0.5939 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/0.235, allocations: 1.005 MB / 0.5949 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.235, allocations: 14.73 kB / 0.5949 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004757/0.2398, allocations: 4.258 MB / 0.5991 GB, free: 9.477 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2398, allocations: 3.203 kB / 0.5991 GB, free: 9.477 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004065/0.2438, allocations: 2.759 MB / 0.6018 GB, free: 6.746 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.244, allocations: 75.44 kB / 0.6018 GB, free: 6.672 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.244, allocations: 19.92 kB / 0.6019 GB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.2443, allocations: 55.94 kB / 0.6019 GB, free: 6.598 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/0.2446, allocations: 152.4 kB / 0.6021 GB, free: 6.449 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.2446, allocations: 27.98 kB / 0.6021 GB, free: 6.422 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002199/0.2449, allocations: 354.8 kB / 0.6024 GB, free: 6.078 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2449, allocations: 0 / 0.6024 GB, free: 6.078 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000558/0.2454, allocations: 271.8 kB / 0.6027 GB, free: 5.812 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ultc.x1,load.xp,load.xq) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,ultc.m,ultc.y2l0,ultc.y3l0,ultc.zeroCrossing.y,ultc.zeroCrossing.disable,ultc.zeroCrossing.u_pos) * Number of discrete states: 5 (ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.y2l0,ultc.y3l0,ultc.m) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004116/0.2495, allocations: 3.312 MB / 0.6059 GB, free: 2.469 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.2516, allocations: 1.389 MB / 0.6073 GB, free: 1.059 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2516, allocations: 4.062 kB / 0.6073 GB, free: 1.055 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.2529, allocations: 0.9231 MB / 0.6082 GB, free: 120 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.2533, allocations: 64.41 kB / 0.6082 GB, free: 56 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.2655, allocations: 8.768 MB / 0.6168 GB, free: 7.133 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.2657, allocations: 332.4 kB / 0.6171 GB, free: 6.781 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.2659, allocations: 64.92 kB / 0.6172 GB, free: 6.715 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.2661, allocations: 268.3 kB / 0.6174 GB, free: 6.453 MB / 458.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2661, allocations: 0 / 0.6174 GB, free: 6.453 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.2987, allocations: 22.27 MB / 0.6392 GB, free: 364 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.274, allocations: 6.75 kB / 0.6392 GB, free: 360 kB / 474.7 MB " [Timeout remaining time 652] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC_res.csv --start-time 0 --stop-time 350 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.01 OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.502479176037014] Failed to read output from testmodel.py, exit status != 0: 8.368427390232682 8.376183789 8.365039118 Calling exit ...