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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 102.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 244.8 MB, free: 14.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 199 kB / 299.8 MB, free: 9.863 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5855/0.5855, allocations: 99.65 MB / 454.4 MB, free: 5.082 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 75.86 kB / 0.6073 GB, free: 9.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.175, allocations: 76.94 MB / 0.6825 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.006037/0.1811, allocations: 4.4 MB / 0.6868 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.1838, allocations: 1.251 MB / 0.688 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000264/0.184, allocations: 8 kB / 0.688 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.1844, allocations: 146.8 kB / 0.6881 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.185, allocations: 254 kB / 0.6884 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1864, allocations: 0.5827 MB / 0.6889 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009353/0.1874, allocations: 0.8057 MB / 0.6897 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.1877, allocations: 150 kB / 0.6899 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.188, allocations: 338.5 kB / 0.6902 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005329/0.1885, allocations: 414 kB / 0.6906 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.382e-05/0.1886, allocations: 64 kB / 0.6906 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.189, allocations: 131.9 kB / 0.6908 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.1891, allocations: 167.3 kB / 0.6909 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.1895, allocations: 389.7 kB / 0.6913 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.1905, allocations: 0.9218 MB / 0.6922 GB, free: 2.422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1905, allocations: 3.938 kB / 0.6922 GB, free: 2.418 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1905, allocations: 0 / 0.6922 GB, free: 2.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.1906, allocations: 4 kB / 0.6922 GB, free: 2.414 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.004547/0.1951, allocations: 1.6 MB / 0.6938 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.1952, allocations: 8.031 kB / 0.6938 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.1953, allocations: 102.7 kB / 0.6939 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.1978, allocations: 431.4 kB / 0.6943 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3158/0.5137, allocations: 0.4967 MB / 0.6948 GB, free: 17.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/0.5139, allocations: 199.3 kB / 0.695 GB, free: 17.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.5141, allocations: 52.86 kB / 0.695 GB, free: 17.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.5156, allocations: 0.6978 MB / 0.6957 GB, free: 17.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.5156, allocations: 1.062 kB / 0.6957 GB, free: 17.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.5157, allocations: 20.25 kB / 0.6957 GB, free: 17.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.5157, allocations: 17.16 kB / 0.6957 GB, free: 17.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.5171, allocations: 0.6825 MB / 0.6964 GB, free: 17.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003495/0.5206, allocations: 2.158 MB / 0.6985 GB, free: 16.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007292/0.5279, allocations: 2.194 MB / 0.7006 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008733/0.5288, allocations: 435.3 kB / 0.7011 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.112e-05/0.5288, allocations: 13.95 kB / 0.7011 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.5299, allocations: 0.5348 MB / 0.7016 GB, free: 15.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=75): time 3.377e-06/0.5299, allocations: 0 / 0.7016 GB, free: 15.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=75): time 0.01282/0.5428, allocations: 3.584 MB / 0.7051 GB, free: 14.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.5428, allocations: 61.41 kB / 0.7052 GB, free: 14.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005567/0.5434, allocations: 0.5077 MB / 0.7056 GB, free: 14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/0.5434, allocations: 48.25 kB / 0.7057 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.5436, allocations: 334 kB / 0.706 GB, free: 13.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.5438, allocations: 258.3 kB / 0.7063 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.544, allocations: 126.9 kB / 0.7064 GB, free: 13.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5441, allocations: 385 kB / 0.7067 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008347/0.545, allocations: 405.1 kB / 0.7071 GB, free: 12.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.546, allocations: 0.4991 MB / 0.7076 GB, free: 12.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009289/0.5553, allocations: 2.532 MB / 0.7101 GB, free: 11.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.5553, allocations: 1.438 kB / 0.7101 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00753/0.5628, allocations: 2.227 MB / 0.7123 GB, free: 11.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.5629, allocations: 11.11 kB / 0.7123 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.5629, allocations: 2.406 kB / 0.7123 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004331/0.5672, allocations: 1.004 MB / 0.7133 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000566/0.5678, allocations: 112.5 kB / 0.7134 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008936/0.5767, allocations: 4.504 MB / 0.7178 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000887/0.5776, allocations: 107 kB / 0.7179 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.5777, allocations: 28.52 kB / 0.7179 GB, free: 8.477 MB / 494.1 MB 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.0004185/0.5781, allocations: 212 kB / 0.7181 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.5782, allocations: 80.64 kB / 0.7182 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007061/0.5853, allocations: 2.16 MB / 0.7203 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.5853, allocations: 7.719 kB / 0.7203 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5853, allocations: 1.906 kB / 0.7203 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.5853, allocations: 3.984 kB / 0.7203 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008345/0.5937, allocations: 3.18 MB / 0.7234 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.5937, allocations: 0 / 0.7234 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000458/0.5941, allocations: 82.95 kB / 0.7235 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003738/0.5979, allocations: 0.9926 MB / 0.7245 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.472e-05/0.598, allocations: 20.92 kB / 0.7245 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008478/0.6064, allocations: 4.461 MB / 0.7288 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6064, allocations: 384 / 0.7288 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007838/0.6143, allocations: 2.752 MB / 0.7315 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/0.6146, allocations: 157.1 kB / 0.7317 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.6147, allocations: 20.67 kB / 0.7317 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.6153, allocations: 60.72 kB / 0.7317 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004641/0.6157, allocations: 149.1 kB / 0.7319 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.707e-05/0.6158, allocations: 20.91 kB / 0.7319 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004658/0.6163, allocations: 358 kB / 0.7322 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6163, allocations: 1.375 kB / 0.7322 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001002/0.6173, allocations: 274.7 kB / 0.7325 GB, free: 15.55 MB / 0.4981 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.008787/0.6261, allocations: 3.326 MB / 0.7358 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003902/0.63, allocations: 1.544 MB / 0.7373 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.63, allocations: 0 / 0.7373 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002702/0.6327, allocations: 1.078 MB / 0.7383 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.6333, allocations: 70.17 kB / 0.7384 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/0.654, allocations: 8.785 MB / 0.747 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.6546, allocations: 0.9315 MB / 0.7479 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002695/0.6549, allocations: 56.95 kB / 0.7479 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/0.6553, allocations: 267.3 kB / 0.7482 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of SimCode: time 1.613e-06/0.6553, allocations: 3.938 kB / 0.7482 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05509/0.7104, allocations: 20.97 MB / 0.7687 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/14.99, allocations: 0 / 0.7687 GB, free: 13.14 MB / 0.5294 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.665438862983137] Failed to read output from testmodel.py, exit status != 0: 15.09085966926068 15.106091754 14.912441863 Calling exit ...