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.001384/0.001384, allocations: 103.6 kB / 18.95 MB, free: 2.543 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.539/1.539, allocations: 230.6 MB / 252.7 MB, free: 8.105 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.001888/0.001888, allocations: 222.2 kB / 309.2 MB, free: 2.949 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.6237/0.6237, allocations: 107.3 MB / 473 MB, free: 4.426 MB / 334.1 MB " [Timeout remaining time 179] 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: 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.002625/0.002625, allocations: 83.88 kB / 0.6332 GB, free: 4.977 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5001/0.5027, allocations: 80.18 MB / 0.7115 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.00482/0.5075, allocations: 3.965 MB / 0.7154 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.5103, allocations: 1.226 MB / 0.7166 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002946/0.5106, allocations: 6.844 kB / 0.7166 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.511, allocations: 144.9 kB / 0.7167 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006328/0.5116, allocations: 267.2 kB / 0.717 GB, free: 384 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.513, allocations: 0.5174 MB / 0.7175 GB, free: 88 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009821/0.514, allocations: 0.8132 MB / 0.7183 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.5143, allocations: 138.4 kB / 0.7184 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003679/0.5146, allocations: 342.3 kB / 0.7187 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/0.5152, allocations: 375.8 kB / 0.7191 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.741e-05/0.5153, allocations: 64.03 kB / 0.7191 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.5156, allocations: 132.4 kB / 0.7193 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.5158, allocations: 170.8 kB / 0.7194 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.5161, allocations: 317.8 kB / 0.7197 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.5172, allocations: 0.9313 MB / 0.7206 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5172, allocations: 0 / 0.7206 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.404e-06/0.5172, allocations: 0 / 0.7206 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.5172, allocations: 0 / 0.7206 GB, free: 14.49 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.004621/0.5219, allocations: 1.621 MB / 0.7222 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5219, allocations: 12.84 kB / 0.7222 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/0.5221, allocations: 98.25 kB / 0.7223 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/0.5247, allocations: 434.8 kB / 0.7228 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008757/0.5255, allocations: 450.9 kB / 0.7232 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/0.5259, allocations: 273.5 kB / 0.7234 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.526, allocations: 51.67 kB / 0.7235 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.5276, allocations: 0.6987 MB / 0.7242 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.5276, allocations: 0 / 0.7242 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.5277, allocations: 26.53 kB / 0.7242 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.5277, allocations: 14.81 kB / 0.7242 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.5292, allocations: 0.6786 MB / 0.7249 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00432/0.5335, allocations: 1.78 MB / 0.7266 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/0.5449, allocations: 1.752 MB / 0.7283 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.5466, allocations: 438.1 kB / 0.7287 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.5467, allocations: 10.64 kB / 0.7288 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002067/0.5488, allocations: 0.5333 MB / 0.7293 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=75): time 6.081e-06/0.5488, allocations: 0 / 0.7293 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=75): time 0.01523/0.564, allocations: 3.362 MB / 0.7326 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.5641, allocations: 63.62 kB / 0.7326 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009136/0.565, allocations: 0.5106 MB / 0.7331 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.5652, allocations: 46.47 kB / 0.7332 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.5655, allocations: 327.9 kB / 0.7335 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/0.5659, allocations: 265.6 kB / 0.7337 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003079/0.5662, allocations: 128.9 kB / 0.7338 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002424/0.5665, allocations: 384.3 kB / 0.7342 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.5675, allocations: 407.4 kB / 0.7346 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.5686, allocations: 0.502 MB / 0.7351 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009627/0.5782, allocations: 2.52 MB / 0.7376 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.5783, allocations: 1.5 kB / 0.7376 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007959/0.5862, allocations: 2.231 MB / 0.7397 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.5862, allocations: 9.938 kB / 0.7397 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.5863, allocations: 2.406 kB / 0.7397 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004276/0.5905, allocations: 0.9964 MB / 0.7407 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.5911, allocations: 114.6 kB / 0.7408 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.6018, allocations: 4.306 MB / 0.745 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.6029, allocations: 102.6 kB / 0.7451 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.6031, allocations: 30.78 kB / 0.7452 GB, free: 1.609 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.0008376/0.6039, allocations: 212.9 kB / 0.7454 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00035/0.6043, allocations: 79.86 kB / 0.7454 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007976/0.6123, allocations: 2.159 MB / 0.7475 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.6123, allocations: 10.45 kB / 0.7476 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.6123, allocations: 1.281 kB / 0.7476 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.6123, allocations: 7.984 kB / 0.7476 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009617/0.6219, allocations: 2.88 MB / 0.7504 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.6219, allocations: 1.594 kB / 0.7504 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.6225, allocations: 77.17 kB / 0.7505 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004166/0.6266, allocations: 1.004 MB / 0.7514 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.6267, allocations: 16 kB / 0.7514 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.637, allocations: 4.241 MB / 0.7556 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.357e-05/0.637, allocations: 3.984 kB / 0.7556 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009149/0.6462, allocations: 2.761 MB / 0.7583 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.6465, allocations: 83.33 kB / 0.7584 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.6467, allocations: 19.98 kB / 0.7584 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007326/0.6474, allocations: 55.94 kB / 0.7584 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005008/0.6479, allocations: 156.4 kB / 0.7586 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.656e-05/0.648, allocations: 23.98 kB / 0.7586 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005405/0.6485, allocations: 350.8 kB / 0.759 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.6485, allocations: 0 / 0.759 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001077/0.6496, allocations: 267.8 kB / 0.7592 GB, free: 5.789 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.009374/0.659, allocations: 3.313 MB / 0.7624 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004456/0.6634, allocations: 1.4 MB / 0.7638 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6634, allocations: 8 kB / 0.7638 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003043/0.6665, allocations: 0.9292 MB / 0.7647 GB, free: 64 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007057/0.6672, allocations: 69.42 kB / 0.7648 GB, free: 0 / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/0.6907, allocations: 8.774 MB / 0.7734 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.6912, allocations: 336.4 kB / 0.7737 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003041/0.6915, allocations: 56.95 kB / 0.7737 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/0.692, allocations: 259.3 kB / 0.774 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/0.692, allocations: 4 kB / 0.774 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06796/0.7599, allocations: 22.11 MB / 0.7956 GB, free: 452 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.25, allocations: 5.688 kB / 0.7956 GB, free: 452 kB / 0.545 GB " [Timeout remaining time 645] (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: 19.055259733926505] Failed to read output from testmodel.py, exit status != 0: 15.393033214379102 15.416048668 14.894447921 Calling exit ...