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.001723/0.001723, allocations: 114.3 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.455/1.455, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.001805/0.001805, allocations: 212.7 kB / 309.2 MB, free: 3.145 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.5486/0.5486, allocations: 101.3 MB / 467 MB, free: 10.34 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.002517/0.002517, allocations: 84.25 kB / 0.6244 GB, free: 12.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4711, allocations: 78.61 MB / 0.7012 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004653/0.4758, allocations: 4.453 MB / 0.7055 GB, free: 6.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.4781, allocations: 1.3 MB / 0.7068 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003455/0.4785, allocations: 6 kB / 0.7068 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.4789, allocations: 142.9 kB / 0.7069 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000679/0.4796, allocations: 269.1 kB / 0.7072 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.4807, allocations: 0.5448 MB / 0.7077 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008637/0.4816, allocations: 0.8081 MB / 0.7085 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.4819, allocations: 143 kB / 0.7086 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.4822, allocations: 348.1 kB / 0.709 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004661/0.4827, allocations: 416.4 kB / 0.7094 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.4828, allocations: 63.03 kB / 0.7094 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.4832, allocations: 139.7 kB / 0.7096 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.4833, allocations: 172.9 kB / 0.7097 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.4836, allocations: 390.8 kB / 0.7101 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009535/0.4845, allocations: 0.9206 MB / 0.711 GB, free: 2.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4845, allocations: 2.969 kB / 0.711 GB, free: 2.844 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4845, allocations: 0 / 0.711 GB, free: 2.844 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.464e-05/0.4846, allocations: 0 / 0.711 GB, free: 2.844 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.00456/0.4891, allocations: 1.616 MB / 0.7126 GB, free: 2.031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4892, allocations: 12.28 kB / 0.7126 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.4893, allocations: 99.8 kB / 0.7127 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/0.492, allocations: 437 kB / 0.7131 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/0.4927, allocations: 448.4 kB / 0.7135 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.493, allocations: 277.5 kB / 0.7138 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.4931, allocations: 54.45 kB / 0.7138 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.4945, allocations: 0.6988 MB / 0.7145 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4945, allocations: 0 / 0.7145 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-05/0.4946, allocations: 26.92 kB / 0.7146 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.4946, allocations: 18.28 kB / 0.7146 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.496, allocations: 0.6794 MB / 0.7152 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/0.5003, allocations: 2.112 MB / 0.7173 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0079/0.5082, allocations: 1.751 MB / 0.719 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.5093, allocations: 434.9 kB / 0.7194 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.48e-05/0.5094, allocations: 9.75 kB / 0.7194 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/0.5107, allocations: 0.5284 MB / 0.72 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=75): time 3.146e-06/0.5107, allocations: 0 / 0.72 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=75): time 0.01507/0.5257, allocations: 3.362 MB / 0.7232 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.5258, allocations: 63.78 kB / 0.7233 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.5269, allocations: 0.5126 MB / 0.7238 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.5271, allocations: 43.06 kB / 0.7238 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.5274, allocations: 327.7 kB / 0.7241 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004234/0.5278, allocations: 270 kB / 0.7244 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/0.5282, allocations: 126 kB / 0.7245 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002969/0.5285, allocations: 383 kB / 0.7249 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.5296, allocations: 407.5 kB / 0.7253 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.5307, allocations: 0.5019 MB / 0.7258 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00996/0.5406, allocations: 2.53 MB / 0.7282 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.5406, allocations: 0 / 0.7282 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00769/0.5483, allocations: 2.221 MB / 0.7304 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.5484, allocations: 7.812 kB / 0.7304 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.5484, allocations: 10.84 kB / 0.7304 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004374/0.5527, allocations: 0.9986 MB / 0.7314 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/0.5534, allocations: 106.8 kB / 0.7315 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.5643, allocations: 4.414 MB / 0.7358 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.5653, allocations: 102.4 kB / 0.7359 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/0.5655, allocations: 31.64 kB / 0.7359 GB, free: 6.762 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.0006533/0.5662, allocations: 209.9 kB / 0.7361 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.5665, allocations: 75.03 kB / 0.7362 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008232/0.5747, allocations: 2.161 MB / 0.7383 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/0.5747, allocations: 7.031 kB / 0.7383 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/0.5747, allocations: 9 kB / 0.7383 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.307e-05/0.5748, allocations: 5.109 kB / 0.7383 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0102/0.585, allocations: 3.143 MB / 0.7414 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.585, allocations: 1.125 kB / 0.7414 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.5855, allocations: 77.52 kB / 0.7415 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00429/0.5898, allocations: 0.9951 MB / 0.7425 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.59, allocations: 19.67 kB / 0.7425 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.6004, allocations: 4.363 MB / 0.7467 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.6004, allocations: 5.297 kB / 0.7467 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009198/0.6096, allocations: 2.752 MB / 0.7494 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.6098, allocations: 76.31 kB / 0.7495 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.61, allocations: 20.08 kB / 0.7495 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007142/0.6107, allocations: 61.66 kB / 0.7496 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004543/0.6112, allocations: 154 kB / 0.7497 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.339e-05/0.6113, allocations: 23.98 kB / 0.7498 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004778/0.6117, allocations: 350.8 kB / 0.7501 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6117, allocations: 192 / 0.7501 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009542/0.6127, 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.009561/0.6222, allocations: 3.325 MB / 0.7536 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004605/0.6269, allocations: 1.388 MB / 0.7549 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.6269, allocations: 4.438 kB / 0.755 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003255/0.6301, allocations: 0.9251 MB / 0.7559 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007556/0.6309, allocations: 66.92 kB / 0.7559 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0242/0.6551, allocations: 8.791 MB / 0.7645 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006784/0.6557, allocations: 0.9276 MB / 0.7654 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002735/0.656, allocations: 56.95 kB / 0.7655 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.6565, allocations: 263.3 kB / 0.7657 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of SimCode: time 1.173e-06/0.6565, allocations: 4 kB / 0.7657 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06272/0.7192, allocations: 21.64 MB / 0.7869 GB, free: 8.043 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.21, allocations: 11.16 kB / 0.7869 GB, free: 8.035 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC_fmu --startTime=0 --stopTime=350 --stepSize=0.01 --timeout=50 --tolerance=0.0001 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.62212937604636] Failed to read output from testmodel.py, exit status != 0: 15.340856754919514 15.368924925 14.879018165 Calling exit ...