Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.00118/0.00118, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8608/0.8608, allocations: 177.2 MB / 199.4 MB, free: 5.918 MB / 186.7 MB " [Timeout remaining time 179] 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.001441/0.001441, allocations: 160.6 kB / 256 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2566/0.2566, allocations: 80.25 MB / 392.6 MB, free: 2.434 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL_Tests_Branches_Generic_ULTC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.Generic.ULTC,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_Generic_ULTC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.5548 GB, free: 12.74 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.104e-06/8.246e-06, allocations: 2.281 kB / 0.5548 GB, free: 12.74 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.002873/0.002882, allocations: 3.947 MB / 0.5586 GB, free: 8.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.004111, allocations: 1.231 MB / 0.5598 GB, free: 7.535 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.004253, allocations: 8 kB / 0.5598 GB, free: 7.527 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.004494, allocations: 142.7 kB / 0.56 GB, free: 7.387 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.004808, allocations: 277.8 kB / 0.5602 GB, free: 7.113 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.005451, allocations: 0.5239 MB / 0.5607 GB, free: 6.598 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007041/0.006155, allocations: 0.8365 MB / 0.5616 GB, free: 5.758 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.006333, allocations: 138.2 kB / 0.5617 GB, free: 5.605 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.006607, allocations: 486.8 kB / 0.5622 GB, free: 5.129 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.006879, allocations: 315 kB / 0.5625 GB, free: 4.82 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.006934, allocations: 64 kB / 0.5625 GB, free: 4.758 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.007112, allocations: 135.8 kB / 0.5626 GB, free: 4.625 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.063e-05/0.007193, allocations: 171.2 kB / 0.5628 GB, free: 4.457 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.007346, allocations: 267.1 kB / 0.5631 GB, free: 4.195 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005698/0.007916, allocations: 0.9266 MB / 0.564 GB, free: 3.266 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.007918, allocations: 0 / 0.564 GB, free: 3.266 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.007918, allocations: 4 kB / 0.564 GB, free: 3.262 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.007924, allocations: 0 / 0.564 GB, free: 3.262 MB / 490.7 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.002169/0.01009, allocations: 1.618 MB / 0.5655 GB, free: 1.602 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.01012, allocations: 12.03 kB / 0.5656 GB, free: 1.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.054e-05/0.0102, allocations: 102.7 kB / 0.5657 GB, free: 1.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.01139, allocations: 431.4 kB / 0.5661 GB, free: 1.059 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.01179, allocations: 443.4 kB / 0.5665 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.01194, allocations: 274.9 kB / 0.5668 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.68e-05/0.012, allocations: 52 kB / 0.5668 GB, free: 236 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008163/0.01282, allocations: 0.6975 MB / 0.5675 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.01283, allocations: 4 kB / 0.5675 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.01287, allocations: 20 kB / 0.5675 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.01288, allocations: 12 kB / 0.5675 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.01396, allocations: 0.6805 MB / 0.5682 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.01604, allocations: 1.787 MB / 0.5699 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003592/0.01963, allocations: 1.75 MB / 0.5716 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/0.02017, allocations: 431 kB / 0.572 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.798e-05/0.02021, allocations: 8.656 kB / 0.5721 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006452/0.02086, allocations: 0.5313 MB / 0.5726 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=75): time 1.803e-06/0.02086, allocations: 4 kB / 0.5726 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75): time 0.006721/0.02758, allocations: 3.355 MB / 0.5759 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.02761, allocations: 60.06 kB / 0.5759 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.02797, allocations: 0.5226 MB / 0.5764 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.02801, allocations: 41.7 kB / 0.5765 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.02816, allocations: 325.1 kB / 0.5768 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.02829, allocations: 261.8 kB / 0.577 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.02843, allocations: 126.6 kB / 0.5771 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.02854, allocations: 386.8 kB / 0.5775 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.02906, allocations: 405.8 kB / 0.5779 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/0.02962, allocations: 0.5068 MB / 0.5784 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004525/0.03415, allocations: 2.519 MB / 0.5809 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.03415, allocations: 4 kB / 0.5809 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004232/0.03838, allocations: 2.231 MB / 0.583 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.0384, allocations: 4 kB / 0.583 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.0384, allocations: 4 kB / 0.583 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/0.04034, allocations: 1.008 MB / 0.584 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.04056, allocations: 107.8 kB / 0.5841 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005092/0.04566, allocations: 4.301 MB / 0.5883 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.04596, allocations: 111.4 kB / 0.5884 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.046, allocations: 27.94 kB / 0.5885 GB, free: 9.703 MB / 0.5105 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.0002081/0.04621, allocations: 214.1 kB / 0.5887 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.04627, allocations: 79.48 kB / 0.5887 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003907/0.05018, allocations: 2.158 MB / 0.5909 GB, free: 7.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.05019, allocations: 11.98 kB / 0.5909 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.05019, allocations: 4 kB / 0.5909 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.0502, allocations: 3.984 kB / 0.5909 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004253/0.05445, allocations: 2.879 MB / 0.5937 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.05445, allocations: 4 kB / 0.5937 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.05465, allocations: 71.91 kB / 0.5938 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001913/0.05656, allocations: 1.004 MB / 0.5947 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.05659, allocations: 12 kB / 0.5947 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1949/0.2515, allocations: 4.24 MB / 0.5989 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2515, allocations: 0.5312 kB / 0.5989 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00422/0.2558, allocations: 2.762 MB / 0.6016 GB, free: 92.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.2559, allocations: 78.42 kB / 0.6017 GB, free: 92.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-05/0.2559, allocations: 18.12 kB / 0.6017 GB, free: 92.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.2562, allocations: 52.56 kB / 0.6017 GB, free: 92.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002362/0.2564, allocations: 159.1 kB / 0.6019 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.2565, allocations: 27.62 kB / 0.6019 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002501/0.2567, allocations: 351.4 kB / 0.6022 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2567, allocations: 0 / 0.6022 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005143/0.2572, allocations: 276.1 kB / 0.6025 GB, free: 92.61 MB / 0.5105 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.004138/0.2614, allocations: 3.313 MB / 0.6057 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.2634, allocations: 1.392 MB / 0.6071 GB, free: 90.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2634, allocations: 0 / 0.6071 GB, free: 90.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.2647, allocations: 0.93 MB / 0.608 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.265, allocations: 65.19 kB / 0.6081 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.2774, allocations: 8.752 MB / 0.6166 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.2777, allocations: 331.8 kB / 0.6169 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001677/0.2778, allocations: 61.72 kB / 0.617 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.278, allocations: 270.1 kB / 0.6172 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of SimCode: time 9.81e-07/0.278, allocations: 0 / 0.6172 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.3082, allocations: 22.27 MB / 0.639 GB, free: 78.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.568/7.876, allocations: 7.359 kB / 0.639 GB, free: 78.74 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Branches_Generic_ULTC.fmu > OpenIPSL_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.156832116656005] Failed to read output from testmodel.py, exit status != 0: 7.974163465201855 7.983505475 7.973765975 Calling exit ...