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.001439/0.001439, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.493/1.493, allocations: 230.6 MB / 252.7 MB, free: 8.117 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.002499/0.002499, allocations: 219.8 kB / 309.2 MB, free: 2.973 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.5916/0.5916, allocations: 107.3 MB / 473 MB, free: 4.469 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.002608/0.002608, allocations: 87.86 kB / 0.6332 GB, free: 4.984 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5115/0.5141, allocations: 80.15 MB / 0.7115 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005152/0.5193, allocations: 3.967 MB / 0.7154 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.5224, allocations: 1.228 MB / 0.7166 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.5228, allocations: 5.094 kB / 0.7166 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004896/0.5233, allocations: 151.2 kB / 0.7167 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006465/0.524, allocations: 262.8 kB / 0.717 GB, free: 412 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.5253, allocations: 0.5155 MB / 0.7175 GB, free: 120 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.5263, allocations: 0.8103 MB / 0.7183 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003317/0.5267, allocations: 140.5 kB / 0.7184 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.5271, allocations: 348.1 kB / 0.7187 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.5276, allocations: 380.1 kB / 0.7191 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.673e-05/0.5277, allocations: 62.06 kB / 0.7191 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.5281, allocations: 133.2 kB / 0.7193 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.5283, allocations: 165 kB / 0.7194 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.5286, allocations: 323.2 kB / 0.7197 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.5299, allocations: 0.9307 MB / 0.7206 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5299, allocations: 0 / 0.7206 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5299, allocations: 0 / 0.7206 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.5299, allocations: 0 / 0.7206 GB, free: 14.52 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.004723/0.5347, allocations: 1.618 MB / 0.7222 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.5347, allocations: 7.781 kB / 0.7222 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.5349, allocations: 98.34 kB / 0.7223 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.5374, allocations: 437.7 kB / 0.7227 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008722/0.5383, allocations: 446.2 kB / 0.7232 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.5386, allocations: 280.7 kB / 0.7234 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.5388, allocations: 51.84 kB / 0.7235 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.5403, allocations: 0.6959 MB / 0.7242 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.5403, allocations: 0 / 0.7242 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.5404, allocations: 25.67 kB / 0.7242 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.5404, allocations: 18.5 kB / 0.7242 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.5419, allocations: 0.6781 MB / 0.7249 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/0.546, allocations: 1.783 MB / 0.7266 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008461/0.5544, allocations: 1.754 MB / 0.7283 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.5557, allocations: 434.4 kB / 0.7287 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.441e-05/0.5558, allocations: 13.81 kB / 0.7288 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001437/0.5573, allocations: 0.5299 MB / 0.7293 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=75): time 3.666e-06/0.5573, allocations: 0 / 0.7293 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=75): time 0.01468/0.572, allocations: 3.357 MB / 0.7326 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.572, allocations: 64.22 kB / 0.7326 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008844/0.5729, allocations: 0.5134 MB / 0.7331 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001979/0.5731, allocations: 42.77 kB / 0.7332 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.5735, allocations: 327.9 kB / 0.7335 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.5738, allocations: 269.2 kB / 0.7337 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.5741, allocations: 133.1 kB / 0.7339 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002235/0.5743, allocations: 383.5 kB / 0.7342 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000922/0.5752, allocations: 400.2 kB / 0.7346 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.5763, allocations: 0.511 MB / 0.7351 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009474/0.5858, allocations: 2.512 MB / 0.7376 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.5858, allocations: 1.156 kB / 0.7376 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.007824/0.5936, allocations: 2.229 MB / 0.7397 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.5936, allocations: 16.25 kB / 0.7397 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.5937, allocations: 2.375 kB / 0.7397 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004398/0.5981, allocations: 1.007 MB / 0.7407 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.5987, allocations: 106.8 kB / 0.7408 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.6099, allocations: 4.306 MB / 0.745 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.6111, allocations: 102.4 kB / 0.7451 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.863e-05/0.6112, allocations: 27.38 kB / 0.7452 GB, free: 1.648 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.0005835/0.6118, allocations: 213.4 kB / 0.7454 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.6119, allocations: 75.84 kB / 0.7454 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007939/0.6199, allocations: 2.158 MB / 0.7475 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.6199, allocations: 8.062 kB / 0.7476 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6199, allocations: 3.938 kB / 0.7476 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.6199, allocations: 3.984 kB / 0.7476 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009662/0.6296, allocations: 2.888 MB / 0.7504 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.6296, allocations: 1.125 kB / 0.7504 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.6301, allocations: 74.91 kB / 0.7505 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004393/0.6345, allocations: 1 MB / 0.7514 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001577/0.6347, allocations: 15.94 kB / 0.7514 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.6448, allocations: 4.254 MB / 0.7556 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6448, allocations: 4 kB / 0.7556 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009092/0.6539, allocations: 2.753 MB / 0.7583 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.6542, allocations: 87.33 kB / 0.7584 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.6543, allocations: 12 kB / 0.7584 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006306/0.6549, allocations: 59.94 kB / 0.7584 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004645/0.6554, allocations: 156.4 kB / 0.7586 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.6554, allocations: 23.94 kB / 0.7586 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004841/0.6559, allocations: 354.8 kB / 0.759 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6559, allocations: 0 / 0.759 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009652/0.6569, allocations: 263.8 kB / 0.7592 GB, free: 5.867 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.009364/0.6663, allocations: 3.325 MB / 0.7625 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004453/0.6707, allocations: 1.391 MB / 0.7638 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6707, allocations: 0 / 0.7638 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00304/0.6738, allocations: 0.9334 MB / 0.7647 GB, free: 144 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006915/0.6744, allocations: 66.88 kB / 0.7648 GB, free: 80 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02299/0.6974, allocations: 8.772 MB / 0.7734 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.6978, allocations: 332.4 kB / 0.7737 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002982/0.6981, allocations: 64.89 kB / 0.7737 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.6985, allocations: 267.3 kB / 0.774 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/0.6985, allocations: 0 / 0.774 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06221/0.7607, allocations: 22.12 MB / 0.7956 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.76, allocations: 6.344 kB / 0.7956 GB, free: 0.5117 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: 18.424981547985226] Failed to read output from testmodel.py, exit status != 0: 14.888602011837065 14.904411916 14.371136007 Calling exit ...