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.0007529/0.0007529, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.8748/0.8748, allocations: 177.1 MB / 199.4 MB, free: 5.934 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.001119/0.001119, allocations: 156.6 kB / 256 MB, free: 13.34 MB / 250.7 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.264/0.264, allocations: 80.36 MB / 392.7 MB, free: 2.375 MB / 314.7 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: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.5549 GB, free: 12.62 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.375e-05, allocations: 6.219 kB / 0.5549 GB, free: 12.61 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.00486/0.004884, allocations: 3.946 MB / 0.5588 GB, free: 8.645 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.007191, allocations: 1.239 MB / 0.56 GB, free: 7.402 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.007512, allocations: 8 kB / 0.56 GB, free: 7.395 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.007906, allocations: 138.7 kB / 0.5601 GB, free: 7.258 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006519/0.008558, allocations: 273.8 kB / 0.5604 GB, free: 6.988 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.009774, allocations: 0.5316 MB / 0.5609 GB, free: 6.461 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008394/0.01061, allocations: 0.8365 MB / 0.5617 GB, free: 5.621 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.01089, allocations: 138.2 kB / 0.5619 GB, free: 5.469 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004594/0.01135, allocations: 482.8 kB / 0.5623 GB, free: 4.996 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.01167, allocations: 311 kB / 0.5626 GB, free: 4.691 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.01174, allocations: 64 kB / 0.5627 GB, free: 4.629 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.01198, allocations: 139.8 kB / 0.5628 GB, free: 4.492 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.01206, allocations: 167.3 kB / 0.563 GB, free: 4.328 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.01226, allocations: 251.2 kB / 0.5632 GB, free: 4.082 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006828/0.01294, allocations: 0.9461 MB / 0.5641 GB, free: 3.133 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.01294, allocations: 4 kB / 0.5641 GB, free: 3.129 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01294, allocations: 0 / 0.5641 GB, free: 3.129 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.01295, allocations: 0 / 0.5641 GB, free: 3.129 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.00253/0.01548, allocations: 1.61 MB / 0.5657 GB, free: 1.477 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.01552, allocations: 8.031 kB / 0.5657 GB, free: 1.469 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.049e-05/0.01561, allocations: 110.7 kB / 0.5658 GB, free: 1.352 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.01687, allocations: 427.4 kB / 0.5662 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.01736, allocations: 443.4 kB / 0.5667 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.01753, allocations: 282.8 kB / 0.5669 GB, free: 152 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/0.01761, allocations: 52 kB / 0.567 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009097/0.01852, allocations: 0.6936 MB / 0.5676 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01853, allocations: 4 kB / 0.5677 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/0.01858, allocations: 24 kB / 0.5677 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.01859, allocations: 12 kB / 0.5677 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.01947, allocations: 0.6727 MB / 0.5683 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003489/0.02296, allocations: 1.787 MB / 0.5701 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005688/0.02865, allocations: 1.746 MB / 0.5718 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000868/0.02952, allocations: 436 kB / 0.5722 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.447e-05/0.02958, allocations: 12.59 kB / 0.5722 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.03064, allocations: 0.5352 MB / 0.5727 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=75): time 3.868e-06/0.03065, allocations: 0 / 0.5727 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=75): time 0.008239/0.03889, allocations: 3.351 MB / 0.576 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.03893, allocations: 64.06 kB / 0.5761 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.0394, allocations: 0.5226 MB / 0.5766 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.03946, allocations: 37.7 kB / 0.5766 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.03962, allocations: 333 kB / 0.5769 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.03979, allocations: 261.8 kB / 0.5772 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.03994, allocations: 126.6 kB / 0.5773 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.04005, allocations: 382.8 kB / 0.5777 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.04058, allocations: 405.8 kB / 0.5781 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/0.04116, allocations: 0.5107 MB / 0.5786 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004715/0.04587, allocations: 2.515 MB / 0.581 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.04588, allocations: 0 / 0.581 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003872/0.04975, allocations: 2.235 MB / 0.5832 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.04977, allocations: 7.438 kB / 0.5832 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.04978, allocations: 4 kB / 0.5832 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/0.05193, allocations: 1.004 MB / 0.5842 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.0522, allocations: 107.8 kB / 0.5843 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005501/0.0577, allocations: 4.309 MB / 0.5885 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.05812, allocations: 99.45 kB / 0.5886 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.05816, allocations: 31.98 kB / 0.5886 GB, free: 9.574 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.0002843/0.05845, allocations: 222 kB / 0.5888 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/0.05853, allocations: 79.48 kB / 0.5889 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/0.06233, allocations: 2.154 MB / 0.591 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.06233, allocations: 12 kB / 0.591 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.06234, allocations: 0 / 0.591 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.06235, allocations: 3.984 kB / 0.591 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004438/0.06679, allocations: 2.882 MB / 0.5939 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.06679, allocations: 4 kB / 0.5939 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.06701, allocations: 67.91 kB / 0.5939 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/0.06899, allocations: 1.005 MB / 0.5949 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.06903, allocations: 12 kB / 0.5949 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1921/0.2611, allocations: 4.253 MB / 0.5991 GB, free: 92.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2611, allocations: 0.6875 kB / 0.5991 GB, free: 92.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004252/0.2653, allocations: 2.75 MB / 0.6018 GB, free: 92.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.2655, allocations: 84.7 kB / 0.6018 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.2655, allocations: 18.39 kB / 0.6019 GB, free: 92.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.2658, allocations: 55.58 kB / 0.6019 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002918/0.2661, allocations: 158.7 kB / 0.6021 GB, free: 92.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.2662, allocations: 19.84 kB / 0.6021 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002361/0.2664, allocations: 350.7 kB / 0.6024 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.2664, allocations: 3.828 kB / 0.6024 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005658/0.267, allocations: 276.3 kB / 0.6027 GB, free: 92.29 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.00429/0.2713, allocations: 3.316 MB / 0.6059 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002138/0.2734, allocations: 1.389 MB / 0.6073 GB, free: 90.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2734, allocations: 0 / 0.6073 GB, free: 90.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.2748, allocations: 0.9281 MB / 0.6082 GB, free: 90.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.2752, allocations: 62.84 kB / 0.6082 GB, free: 90 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.2882, allocations: 8.749 MB / 0.6168 GB, free: 86.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.2885, allocations: 335.8 kB / 0.6171 GB, free: 86.22 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000226/0.2887, allocations: 58.58 kB / 0.6172 GB, free: 86.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.289, allocations: 268.7 kB / 0.6174 GB, free: 86.01 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/0.289, allocations: 0 / 0.6174 GB, free: 86.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.3254, allocations: 22.28 MB / 0.6392 GB, free: 78.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.24/8.566, allocations: 7.844 kB / 0.6392 GB, free: 78.3 MB / 0.5105 GB " [Timeout remaining time 651] (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: 10.825991821475327] Failed to read output from testmodel.py, exit status != 0: 8.665710876695812 8.670427609 8.656076249 Calling exit ...