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.001378/0.001378, allocations: 108.2 kB / 16.46 MB, free: 6.512 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.514/1.514, allocations: 230.6 MB / 249.8 MB, free: 9.211 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.001938/0.001938, allocations: 205.2 kB / 306 MB, free: 4.301 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.604/0.604, allocations: 101.3 MB / 463.4 MB, free: 11.91 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.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: 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.002757/0.002757, allocations: 83.88 kB / 0.6193 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.172, allocations: 78.57 MB / 0.696 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.3301/0.5021, allocations: 4.424 MB / 0.7003 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.5049, allocations: 1.297 MB / 0.7016 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.5053, allocations: 6 kB / 0.7016 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.5058, allocations: 142.2 kB / 0.7018 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006567/0.5065, allocations: 269 kB / 0.702 GB, free: 5.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.5078, allocations: 0.5373 MB / 0.7025 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009065/0.5087, allocations: 0.8126 MB / 0.7033 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.509, allocations: 146.6 kB / 0.7035 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.5093, allocations: 341.5 kB / 0.7038 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004688/0.5098, allocations: 419.2 kB / 0.7042 GB, free: 4.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.5099, allocations: 62.72 kB / 0.7043 GB, free: 4.367 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.5103, allocations: 136 kB / 0.7044 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.5104, allocations: 166.6 kB / 0.7045 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.5107, allocations: 399.6 kB / 0.7049 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000947/0.5116, allocations: 0.9245 MB / 0.7058 GB, free: 3.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5116, allocations: 0 / 0.7058 GB, free: 3.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5116, allocations: 1.156 kB / 0.7058 GB, free: 3.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.5117, allocations: 0 / 0.7058 GB, free: 3.543 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004531/0.5162, allocations: 1.59 MB / 0.7074 GB, free: 2.691 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.5162, allocations: 11.84 kB / 0.7074 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.5164, allocations: 99.03 kB / 0.7075 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002581/0.5189, allocations: 434.9 kB / 0.7079 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.5196, allocations: 0.5082 MB / 0.7084 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.5198, allocations: 198.4 kB / 0.7086 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.827e-05/0.5198, allocations: 53.66 kB / 0.7086 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.5213, allocations: 0.6931 MB / 0.7093 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.5213, allocations: 0 / 0.7093 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/0.5214, allocations: 26.5 kB / 0.7093 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.5214, allocations: 17.97 kB / 0.7094 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.5228, allocations: 0.6804 MB / 0.71 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.5265, allocations: 2.146 MB / 0.7121 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008072/0.5345, allocations: 2.212 MB / 0.7143 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.5357, allocations: 433.9 kB / 0.7147 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.065e-05/0.5358, allocations: 10.81 kB / 0.7147 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.5371, allocations: 0.5279 MB / 0.7152 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=75): time 3.206e-06/0.5371, allocations: 0 / 0.7152 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=75): time 0.01541/0.5525, allocations: 3.587 MB / 0.7187 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.5526, allocations: 60.7 kB / 0.7188 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000959/0.5536, allocations: 0.5079 MB / 0.7193 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.5537, allocations: 44.39 kB / 0.7193 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/0.5541, allocations: 334.7 kB / 0.7196 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/0.5545, allocations: 261.6 kB / 0.7199 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003426/0.5548, allocations: 129.1 kB / 0.72 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002882/0.5551, allocations: 383.6 kB / 0.7204 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.5563, allocations: 407.6 kB / 0.7208 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.5577, allocations: 0.5051 MB / 0.7213 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009968/0.5676, allocations: 2.521 MB / 0.7237 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.5677, allocations: 1.344 kB / 0.7237 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.008102/0.5758, allocations: 2.227 MB / 0.7259 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.5758, allocations: 10.88 kB / 0.7259 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.5758, allocations: 2.219 kB / 0.7259 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004302/0.5801, allocations: 1.01 MB / 0.7269 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006276/0.5807, allocations: 111.2 kB / 0.727 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.5913, allocations: 4.509 MB / 0.7314 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.5924, allocations: 99.09 kB / 0.7315 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.871e-05/0.5924, allocations: 35.36 kB / 0.7315 GB, free: 6.898 MB / 0.4981 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.0005079/0.593, allocations: 210.6 kB / 0.7317 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.5931, allocations: 76.47 kB / 0.7318 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00777/0.6009, allocations: 2.157 MB / 0.7339 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.6009, allocations: 7.062 kB / 0.7339 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.6009, allocations: 0 / 0.7339 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.6009, allocations: 5.234 kB / 0.7339 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00917/0.6101, allocations: 3.184 MB / 0.737 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.6101, allocations: 4 kB / 0.737 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004625/0.6106, allocations: 74 kB / 0.7371 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004136/0.6147, allocations: 0.9983 MB / 0.7381 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.6148, allocations: 15.06 kB / 0.7381 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009956/0.6248, allocations: 4.472 MB / 0.7425 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6248, allocations: 1.094 kB / 0.7425 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009096/0.6339, allocations: 2.756 MB / 0.7452 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.6342, allocations: 156.8 kB / 0.7453 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.6343, allocations: 11.97 kB / 0.7453 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006342/0.635, allocations: 62.19 kB / 0.7454 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004397/0.6354, allocations: 151.5 kB / 0.7455 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.857e-05/0.6355, allocations: 21.75 kB / 0.7455 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004744/0.6359, allocations: 351.3 kB / 0.7459 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6359, allocations: 0 / 0.7459 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001031/0.637, allocations: 274.4 kB / 0.7461 GB, free: 13.87 MB / 0.5137 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.009196/0.6462, allocations: 3.324 MB / 0.7494 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004609/0.6508, allocations: 1.545 MB / 0.7509 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6508, allocations: 0 / 0.7509 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003063/0.6538, allocations: 1.073 MB / 0.7519 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.6545, allocations: 71.58 kB / 0.752 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/0.6763, allocations: 8.77 MB / 0.7606 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.6769, allocations: 0.9276 MB / 0.7615 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.6772, allocations: 60.95 kB / 0.7615 GB, free: 14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/0.6776, allocations: 271.3 kB / 0.7618 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/0.6776, allocations: 0 / 0.7618 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05723/0.7348, allocations: 20.97 MB / 0.7823 GB, free: 8.855 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.34, allocations: 20.48 kB / 0.7823 GB, free: 8.848 MB / 0.545 GB " [Timeout remaining time 646] (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: 18.242123818956316] Failed to read output from testmodel.py, exit status != 0: 14.445041387109086 14.464993061 13.949408837 Calling exit ...