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.00129/0.00129, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.524/1.524, allocations: 230.6 MB / 252.6 MB, free: 8.309 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.001545/0.001545, allocations: 215.3 kB / 309.2 MB, free: 3.199 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.5676/0.5676, allocations: 101.3 MB / 467 MB, free: 10.33 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.002503/0.002503, allocations: 91.86 kB / 0.6244 GB, free: 12.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.445, allocations: 78.61 MB / 0.7012 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004822/0.4498, allocations: 4.455 MB / 0.7055 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.4523, allocations: 1.294 MB / 0.7068 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003913/0.4527, allocations: 9.875 kB / 0.7068 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.4531, allocations: 144.8 kB / 0.7069 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005527/0.4537, allocations: 259.7 kB / 0.7072 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.4548, allocations: 0.5447 MB / 0.7077 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008315/0.4557, allocations: 0.8146 MB / 0.7085 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.456, allocations: 140 kB / 0.7086 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.4563, allocations: 345.8 kB / 0.709 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004848/0.4568, allocations: 419.2 kB / 0.7094 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.4569, allocations: 63.34 kB / 0.7094 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.4572, allocations: 135.7 kB / 0.7096 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.904e-05/0.4573, allocations: 173.2 kB / 0.7097 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.4576, allocations: 398.3 kB / 0.7101 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009321/0.4585, allocations: 0.9178 MB / 0.711 GB, free: 2.828 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.4585, allocations: 0 / 0.711 GB, free: 2.828 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4585, allocations: 0 / 0.711 GB, free: 2.828 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.4585, allocations: 0 / 0.711 GB, free: 2.828 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.004336/0.4629, allocations: 1.619 MB / 0.7126 GB, free: 2.016 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4629, allocations: 9.047 kB / 0.7126 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/0.463, allocations: 102.7 kB / 0.7127 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.4655, allocations: 432.8 kB / 0.7131 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/0.4661, allocations: 446.9 kB / 0.7135 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.4663, allocations: 276.5 kB / 0.7138 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.4664, allocations: 57.84 kB / 0.7138 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.4677, allocations: 0.6901 MB / 0.7145 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.4678, allocations: 0 / 0.7145 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.624e-05/0.4678, allocations: 34.23 kB / 0.7146 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.4678, allocations: 21.44 kB / 0.7146 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.4692, allocations: 0.677 MB / 0.7152 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/0.473, allocations: 2.108 MB / 0.7173 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007538/0.4805, allocations: 1.762 MB / 0.719 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.4816, allocations: 431.3 kB / 0.7194 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-05/0.4817, allocations: 7.672 kB / 0.7194 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.4829, allocations: 0.5298 MB / 0.72 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=75): time 2.715e-06/0.4829, allocations: 0 / 0.72 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=75): time 0.01409/0.4969, allocations: 3.357 MB / 0.7232 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/0.497, allocations: 60.94 kB / 0.7233 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009434/0.498, allocations: 0.5156 MB / 0.7238 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.4981, allocations: 47.3 kB / 0.7238 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.4985, allocations: 328.1 kB / 0.7242 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.4988, allocations: 261.6 kB / 0.7244 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.4991, allocations: 129.4 kB / 0.7245 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002449/0.4994, allocations: 384.4 kB / 0.7249 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009576/0.5003, allocations: 415.7 kB / 0.7253 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.5014, allocations: 0.4973 MB / 0.7258 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009245/0.5106, allocations: 2.532 MB / 0.7282 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.5106, allocations: 0 / 0.7282 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00757/0.5182, allocations: 2.228 MB / 0.7304 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.5182, allocations: 10.81 kB / 0.7304 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.5182, allocations: 2.75 kB / 0.7304 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004084/0.5223, allocations: 0.9916 MB / 0.7314 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005986/0.5229, allocations: 113.8 kB / 0.7315 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009819/0.5328, allocations: 4.412 MB / 0.7358 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008931/0.5336, allocations: 99.27 kB / 0.7359 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/0.5337, allocations: 26.56 kB / 0.7359 GB, free: 6.766 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.0004123/0.5341, allocations: 209.7 kB / 0.7361 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.5343, allocations: 75.97 kB / 0.7362 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007429/0.5417, allocations: 2.16 MB / 0.7383 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.5417, allocations: 7.312 kB / 0.7383 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5417, allocations: 1.188 kB / 0.7383 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.5417, allocations: 5.109 kB / 0.7383 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00881/0.5505, allocations: 3.155 MB / 0.7414 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.5505, allocations: 0 / 0.7414 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/0.551, allocations: 78.41 kB / 0.7415 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004051/0.5551, allocations: 0.9988 MB / 0.7425 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.5552, allocations: 10.72 kB / 0.7425 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009538/0.5647, allocations: 4.36 MB / 0.7467 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5647, allocations: 0 / 0.7467 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008516/0.5733, allocations: 2.757 MB / 0.7494 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.5736, allocations: 79.72 kB / 0.7495 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.5737, allocations: 16.91 kB / 0.7495 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/0.5743, allocations: 60.81 kB / 0.7496 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000454/0.5748, allocations: 162.1 kB / 0.7497 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.725e-05/0.5748, allocations: 16 kB / 0.7497 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004502/0.5753, allocations: 358.8 kB / 0.7501 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5753, allocations: 0 / 0.7501 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008841/0.5761, allocations: 271.8 kB / 0.7503 GB, free: 13.57 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.008775/0.5849, allocations: 3.317 MB / 0.7536 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004229/0.5892, allocations: 1.399 MB / 0.755 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5892, allocations: 3.938 kB / 0.755 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002949/0.5921, allocations: 0.9217 MB / 0.7559 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007147/0.5928, allocations: 62.94 kB / 0.7559 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/0.6148, allocations: 8.792 MB / 0.7645 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.6154, allocations: 0.9238 MB / 0.7654 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000307/0.6157, allocations: 64.94 kB / 0.7655 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.6161, allocations: 267.3 kB / 0.7657 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/0.6161, allocations: 0 / 0.7657 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06333/0.6794, allocations: 21.63 MB / 0.7868 GB, free: 8.059 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.86, allocations: 16 kB / 0.7869 GB, free: 8.043 MB / 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: 18.577396814998792] Failed to read output from testmodel.py, exit status != 0: 14.99089156500122 15.019853877 14.556035697 Calling exit ...