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.0007348/0.0007348, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.8872/0.8872, allocations: 177.1 MB / 199.4 MB, free: 5.926 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.001476/0.001476, allocations: 164.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.2749/0.2749, allocations: 80.26 MB / 392.6 MB, free: 2.426 MB / 314.7 MB " [Timeout remaining time 179] 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.503e-06/1.503e-06, allocations: 0 / 0.5548 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.358e-05, allocations: 5.781 kB / 0.5548 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.00348/0.003504, allocations: 3.958 MB / 0.5586 GB, free: 8.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.005372, allocations: 1.227 MB / 0.5598 GB, free: 7.52 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.005633, allocations: 4 kB / 0.5598 GB, free: 7.516 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.005954, allocations: 146.7 kB / 0.56 GB, free: 7.371 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.006382, allocations: 277.8 kB / 0.5602 GB, free: 7.098 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.007236, allocations: 0.5217 MB / 0.5607 GB, free: 6.578 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005791/0.007815, allocations: 0.8403 MB / 0.5616 GB, free: 5.734 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.008046, allocations: 138.3 kB / 0.5617 GB, free: 5.582 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.0084, allocations: 482.8 kB / 0.5622 GB, free: 5.109 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.008718, allocations: 311 kB / 0.5625 GB, free: 4.805 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.008785, allocations: 64 kB / 0.5625 GB, free: 4.742 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.009044, allocations: 147.8 kB / 0.5627 GB, free: 4.598 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.009134, allocations: 167.3 kB / 0.5628 GB, free: 4.434 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.009307, allocations: 259.1 kB / 0.5631 GB, free: 4.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.01006, allocations: 0.9344 MB / 0.564 GB, free: 3.242 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.01007, allocations: 0 / 0.564 GB, free: 3.242 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01007, allocations: 0 / 0.564 GB, free: 3.242 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.01008, allocations: 0 / 0.564 GB, free: 3.242 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.002615/0.01269, allocations: 1.622 MB / 0.5656 GB, free: 1.578 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.01274, allocations: 8.031 kB / 0.5656 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.102e-05/0.01283, allocations: 98.7 kB / 0.5657 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.01413, allocations: 431.4 kB / 0.5661 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.01463, allocations: 439.5 kB / 0.5665 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.01483, allocations: 278.8 kB / 0.5668 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.946e-05/0.01491, allocations: 59.94 kB / 0.5668 GB, free: 212 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009376/0.01584, allocations: 0.6936 MB / 0.5675 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.01586, allocations: 0 / 0.5675 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/0.0159, allocations: 27.98 kB / 0.5675 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.01591, allocations: 12 kB / 0.5675 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009052/0.01682, allocations: 0.6727 MB / 0.5682 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/0.0195, allocations: 1.791 MB / 0.5699 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003848/0.02335, allocations: 1.749 MB / 0.5716 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006447/0.024, allocations: 436 kB / 0.5721 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.364e-05/0.02406, allocations: 8.656 kB / 0.5721 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007932/0.02485, allocations: 0.5236 MB / 0.5726 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=75): time 3.537e-06/0.02486, allocations: 0 / 0.5726 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75): time 0.006948/0.0318, allocations: 3.371 MB / 0.5759 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.03185, allocations: 56.06 kB / 0.5759 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.03232, allocations: 0.5148 MB / 0.5764 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.0324, allocations: 45.69 kB / 0.5765 GB, free: 6.191 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.03258, allocations: 325.1 kB / 0.5768 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.03276, allocations: 261.7 kB / 0.577 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.03292, allocations: 130.6 kB / 0.5772 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.03304, allocations: 382.8 kB / 0.5775 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.03358, allocations: 405.8 kB / 0.5779 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005853/0.03417, allocations: 0.499 MB / 0.5784 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004881/0.03905, allocations: 2.534 MB / 0.5809 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.03905, allocations: 0 / 0.5809 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003971/0.04302, allocations: 2.228 MB / 0.583 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.04305, allocations: 8 kB / 0.583 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.04306, allocations: 0 / 0.583 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/0.04511, allocations: 1 MB / 0.584 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.0454, allocations: 119.8 kB / 0.5841 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005635/0.05103, allocations: 4.308 MB / 0.5883 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/0.0515, allocations: 107.5 kB / 0.5885 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.05154, allocations: 24 kB / 0.5885 GB, free: 9.688 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.0002872/0.05183, allocations: 214.2 kB / 0.5887 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.05192, allocations: 79.48 kB / 0.5888 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.05569, allocations: 2.165 MB / 0.5909 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.0557, allocations: 8 kB / 0.5909 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.0557, allocations: 0 / 0.5909 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.05571, allocations: 3.984 kB / 0.5909 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004852/0.06057, allocations: 2.875 MB / 0.5937 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.06057, allocations: 4 kB / 0.5937 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.06081, allocations: 83.89 kB / 0.5938 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002034/0.06284, allocations: 0.9926 MB / 0.5947 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/0.0629, allocations: 15.98 kB / 0.5948 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1918/0.2547, allocations: 4.245 MB / 0.5989 GB, free: 93.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.2547, allocations: 1.312 kB / 0.5989 GB, free: 93.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004168/0.2589, allocations: 2.754 MB / 0.6016 GB, free: 93.03 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.259, allocations: 84.69 kB / 0.6017 GB, free: 93.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.696e-05/0.2591, allocations: 17.86 kB / 0.6017 GB, free: 93.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.2594, allocations: 59.67 kB / 0.6017 GB, free: 93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/0.2597, allocations: 157.2 kB / 0.6019 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.2597, allocations: 27.72 kB / 0.6019 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002231/0.2599, allocations: 352.6 kB / 0.6023 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.2599, allocations: 0 / 0.6023 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005195/0.2604, allocations: 267.7 kB / 0.6025 GB, free: 92.77 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.004227/0.2647, allocations: 3.318 MB / 0.6058 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002171/0.2668, allocations: 1.385 MB / 0.6071 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2668, allocations: 0 / 0.6071 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.2682, allocations: 0.929 MB / 0.608 GB, free: 90.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.2686, allocations: 59.31 kB / 0.6081 GB, free: 90.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.2808, allocations: 8.761 MB / 0.6166 GB, free: 86.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.2811, allocations: 332.3 kB / 0.6169 GB, free: 86.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002035/0.2813, allocations: 57.66 kB / 0.617 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.2815, allocations: 275.2 kB / 0.6173 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/0.2815, allocations: 0 / 0.6173 GB, free: 86.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.32, allocations: 22.27 MB / 0.639 GB, free: 78.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/8.679, allocations: 11.17 kB / 0.639 GB, free: 78.87 MB / 0.5105 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_Generic_ULTC_fmu --startTime=0 --stopTime=350 --stepSize=0.01 --timeout=50 --tolerance=0.0001 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.990420274436474] Failed to read output from testmodel.py, exit status != 0: 8.779483343474567 8.785223973 8.773725586 Calling exit ...