Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001892/0.001892, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.494/1.494, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001537/0.001537, allocations: 207.7 kB / 309.2 MB, free: 3.152 MB / 238.1 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.6688/0.6688, allocations: 107.2 MB / 472.8 MB, free: 30.04 MB / 350.1 MB " [Timeout remaining time 179] 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.Branches.Generic.ULTC,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_Generic_ULTC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.Generic.ULTC,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_Generic_ULTC",fmuType="me",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.002541/0.002541, allocations: 88.31 kB / 0.633 GB, free: 29.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1404, allocations: 80.14 MB / 0.7113 GB, free: 7.734 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005551/0.1459, allocations: 3.97 MB / 0.7152 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.1485, allocations: 1.227 MB / 0.7164 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.1487, allocations: 8 kB / 0.7164 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.1491, allocations: 142.8 kB / 0.7165 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005517/0.1497, allocations: 274 kB / 0.7168 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.151, allocations: 0.5053 MB / 0.7173 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008983/0.1519, allocations: 0.8096 MB / 0.718 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.1521, allocations: 138.5 kB / 0.7182 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003678/0.1525, allocations: 350.5 kB / 0.7185 GB, free: 288 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/0.153, allocations: 370 kB / 0.7189 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.998e-05/0.1531, allocations: 64 kB / 0.7189 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.1534, allocations: 135.9 kB / 0.7191 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.1536, allocations: 171.3 kB / 0.7192 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003313/0.1539, allocations: 318.2 kB / 0.7195 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.155, allocations: 0.9297 MB / 0.7204 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.155, allocations: 3.938 kB / 0.7204 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.155, allocations: 0 / 0.7204 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.155, allocations: 0 / 0.7204 GB, free: 14.3 MB / 0.4981 GB 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.00457/0.1596, allocations: 1.626 MB / 0.722 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1596, allocations: 8.031 kB / 0.722 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.1598, allocations: 102.7 kB / 0.7221 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.1623, allocations: 435.3 kB / 0.7225 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/0.1631, allocations: 443.4 kB / 0.723 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.1634, allocations: 274.9 kB / 0.7232 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.1636, allocations: 56 kB / 0.7233 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.1651, allocations: 0.6975 MB / 0.724 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1651, allocations: 0 / 0.724 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/0.1652, allocations: 20 kB / 0.724 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.1652, allocations: 19.94 kB / 0.724 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.1667, allocations: 0.6688 MB / 0.7247 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.1707, allocations: 1.787 MB / 0.7264 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007682/0.1784, allocations: 1.744 MB / 0.7281 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.1794, allocations: 434.9 kB / 0.7285 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.976e-05/0.1795, allocations: 8.656 kB / 0.7285 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/0.1806, allocations: 0.539 MB / 0.7291 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=75): time 3.056e-06/0.1806, allocations: 0 / 0.7291 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=75): time 0.01361/0.1942, allocations: 3.359 MB / 0.7323 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.1943, allocations: 60.06 kB / 0.7324 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.195, allocations: 0.5148 MB / 0.7329 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.084e-05/0.1951, allocations: 41.7 kB / 0.7329 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.1954, allocations: 337 kB / 0.7333 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.1956, allocations: 261.7 kB / 0.7335 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.1959, allocations: 126.6 kB / 0.7336 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002075/0.1961, allocations: 386.8 kB / 0.734 GB, free: 156 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009609/0.197, allocations: 405.9 kB / 0.7344 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.1981, allocations: 0.5068 MB / 0.7349 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009475/0.2075, allocations: 2.519 MB / 0.7373 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.2076, allocations: 0 / 0.7373 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007615/0.2152, allocations: 2.232 MB / 0.7395 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.2152, allocations: 7.938 kB / 0.7395 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.2152, allocations: 4 kB / 0.7395 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004184/0.2194, allocations: 1.007 MB / 0.7405 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.22, allocations: 107.8 kB / 0.7406 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.2302, allocations: 4.293 MB / 0.7448 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000827/0.231, allocations: 103.6 kB / 0.7449 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.231, allocations: 35.88 kB / 0.7449 GB, free: 4.742 MB / 0.5137 GB 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.000401/0.2314, allocations: 215 kB / 0.7451 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.2316, allocations: 79.47 kB / 0.7452 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007391/0.239, allocations: 2.158 MB / 0.7473 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.239, allocations: 8 kB / 0.7473 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.239, allocations: 0 / 0.7473 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.239, allocations: 3.984 kB / 0.7473 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00864/0.2476, allocations: 2.89 MB / 0.7502 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2476, allocations: 4 kB / 0.7502 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.2481, allocations: 67.91 kB / 0.7502 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004043/0.2521, allocations: 1.007 MB / 0.7512 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/0.2522, allocations: 12 kB / 0.7512 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009655/0.2618, allocations: 4.253 MB / 0.7554 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2618, allocations: 0 / 0.7554 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008728/0.2705, allocations: 2.757 MB / 0.7581 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.2708, allocations: 75.36 kB / 0.7581 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.2709, allocations: 24.11 kB / 0.7582 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006168/0.2715, allocations: 55.94 kB / 0.7582 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004394/0.2719, allocations: 168.3 kB / 0.7584 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.272, allocations: 16 kB / 0.7584 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004419/0.2724, allocations: 354.8 kB / 0.7587 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2724, allocations: 0 / 0.7587 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008119/0.2732, allocations: 271.8 kB / 0.759 GB, free: 6.109 MB / 0.5294 GB 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.009053/0.2823, allocations: 3.311 MB / 0.7622 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004433/0.2867, allocations: 1.411 MB / 0.7636 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2867, allocations: 0 / 0.7636 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00295/0.2897, allocations: 0.9217 MB / 0.7645 GB, free: 396 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000613/0.2903, allocations: 70.92 kB / 0.7646 GB, free: 328 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/0.3126, allocations: 8.767 MB / 0.7731 GB, free: 7.375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.313, allocations: 332.4 kB / 0.7734 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002721/0.3133, allocations: 60.95 kB / 0.7735 GB, free: 6.965 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/0.3138, allocations: 267.3 kB / 0.7738 GB, free: 6.707 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/0.3138, allocations: 0 / 0.7738 GB, free: 6.707 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06425/0.378, allocations: 22.11 MB / 0.7954 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.28, allocations: 11 kB / 0.7954 GB, free: 0.7305 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Branches_Generic_ULTC.fmu > OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.082398255821317] Failed to read output from testmodel.py, exit status != 0: 14.421707333996892 14.442147881 14.283835497 Calling exit ...