Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.001248/0.001248, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] 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.001291/0.001291, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.398/1.398, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.05997/0.05997, allocations: 11.33 MB / 320.9 MB, free: 14.1 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems 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.001859/0.001859, allocations: 70.36 kB / 446.5 MB, free: 38.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.0887, allocations: 56.01 MB / 0.4908 GB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002114/0.09082, allocations: 1.652 MB / 0.4924 GB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004913/0.09131, allocations: 318.9 kB / 0.4927 GB, free: 1.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.76e-05/0.09137, allocations: 0 / 0.4927 GB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.0914, allocations: 11.81 kB / 0.4927 GB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.784e-05/0.0915, allocations: 27.8 kB / 0.4927 GB, free: 1.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.09181, allocations: 83.78 kB / 0.4928 GB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.09195, allocations: 135.7 kB / 0.4929 GB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.09206, allocations: 13.84 kB / 0.4929 GB, free: 1.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.0921, allocations: 59.66 kB / 0.493 GB, free: 1.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.09217, allocations: 67.61 kB / 0.4931 GB, free: 1.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.09219, allocations: 15.94 kB / 0.4931 GB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.339e-05/0.09225, allocations: 39.98 kB / 0.4931 GB, free: 1.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.09228, allocations: 31.89 kB / 0.4931 GB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.09232, allocations: 67.53 kB / 0.4932 GB, free: 0.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.09247, allocations: 139.4 kB / 0.4933 GB, free: 0.7812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09248, allocations: 0 / 0.4933 GB, free: 0.7812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09248, allocations: 0 / 0.4933 GB, free: 0.7812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.09248, allocations: 4 kB / 0.4933 GB, free: 0.7773 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005158/0.093, allocations: 448.6 kB / 0.4938 GB, free: 296 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.09303, allocations: 12.03 kB / 0.4938 GB, free: 284 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.59e-05/0.09305, allocations: 8.125 kB / 0.4938 GB, free: 276 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.523e-05/0.09307, allocations: 42.73 kB / 0.4938 GB, free: 224 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.09311, allocations: 16.84 kB / 0.4938 GB, free: 208 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.09331, allocations: 232 kB / 0.4941 GB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.09332, allocations: 12.38 kB / 0.4941 GB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.09334, allocations: 8.375 kB / 0.4941 GB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.09359, allocations: 138.2 kB / 0.4942 GB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.0936, allocations: 0 / 0.4942 GB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.09362, allocations: 4 kB / 0.4942 GB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.09362, allocations: 3.984 kB / 0.4942 GB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.09376, allocations: 59.97 kB / 0.4943 GB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.09439, allocations: 412.5 kB / 0.4947 GB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.09462, allocations: 106.6 kB / 0.4948 GB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.09473, allocations: 60.83 kB / 0.4948 GB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.09475, allocations: 0 / 0.4948 GB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.09497, allocations: 111.3 kB / 0.4949 GB, free: 14.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.09497, allocations: 0 / 0.4949 GB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004405/0.09541, allocations: 200.7 kB / 0.4951 GB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.09552, allocations: 162.2 kB / 0.4953 GB, free: 14.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.09569, allocations: 194.2 kB / 0.4955 GB, free: 14.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.09572, allocations: 33.7 kB / 0.4955 GB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.0958, allocations: 120.2 kB / 0.4956 GB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.09584, allocations: 39.64 kB / 0.4957 GB, free: 14.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.0959, allocations: 45.7 kB / 0.4957 GB, free: 14.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.09603, allocations: 330.8 kB / 0.496 GB, free: 13.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.09612, allocations: 35.92 kB / 0.496 GB, free: 13.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.09625, allocations: 113.4 kB / 0.4962 GB, free: 13.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.09646, allocations: 132.5 kB / 0.4963 GB, free: 13.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.09646, allocations: 4 kB / 0.4963 GB, free: 13.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002823/0.09675, allocations: 169.5 kB / 0.4964 GB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.09676, allocations: 8 kB / 0.4965 GB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.09676, allocations: 4 kB / 0.4965 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.09678, allocations: 11.88 kB / 0.4965 GB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.09692, allocations: 27.92 kB / 0.4965 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.09692, allocations: 4 kB / 0.4965 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.09708, allocations: 19.94 kB / 0.4965 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.09709, allocations: 8 kB / 0.4965 GB, free: 13.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_TU.y,$PRE.ll_dig_TU.y,ll_dig_FE.y,$PRE.ll_dig_FE.y,ll_dig_BE.y,$PRE.ll_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.0972, allocations: 133.8 kB / 0.4967 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.09723, allocations: 19.84 kB / 0.4967 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.09728, allocations: 25.45 kB / 0.4967 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.09728, allocations: 0 / 0.4967 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.09728, allocations: 0 / 0.4967 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.09729, allocations: 0 / 0.4967 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.09782, allocations: 458.4 kB / 0.4971 GB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.09782, allocations: 3.938 kB / 0.4971 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.09793, allocations: 27.92 kB / 0.4972 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.09793, allocations: 0 / 0.4972 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.09795, allocations: 7.984 kB / 0.4972 GB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.09795, allocations: 0 / 0.4972 GB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.09795, allocations: 0 / 0.4972 GB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.09841, allocations: 307.4 kB / 0.4975 GB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.09847, allocations: 96.97 kB / 0.4976 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.09851, allocations: 8 kB / 0.4976 GB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.09867, allocations: 16.05 kB / 0.4976 GB, free: 12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.09872, allocations: 11.98 kB / 0.4976 GB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.09873, allocations: 4 kB / 0.4976 GB, free: 11.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.09886, allocations: 140.4 kB / 0.4977 GB, free: 11.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09886, allocations: 0 / 0.4977 GB, free: 11.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.09912, allocations: 35.94 kB / 0.4978 GB, free: 11.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007917/0.09991, allocations: 0.8786 MB / 0.4986 GB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.1002, allocations: 107.8 kB / 0.4987 GB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1002, allocations: 0 / 0.4987 GB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1003, allocations: 56.3 kB / 0.4988 GB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.1006, allocations: 33.81 kB / 0.4988 GB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.1031, allocations: 2.057 MB / 0.5008 GB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1034, allocations: 0.7203 MB / 0.5015 GB, free: 7.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.821e-05/0.1035, allocations: 21.58 kB / 0.5015 GB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.103e-05/0.1035, allocations: 47.42 kB / 0.5016 GB, free: 7.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1035, allocations: 0 / 0.5016 GB, free: 7.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.1248, allocations: 3.76 MB / 0.5053 GB, free: 4.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/7.977, allocations: 12.5 kB / 0.5053 GB, free: 4.141 MB / 366.1 MB " [Timeout remaining time 652] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.53838874696521] Failed to read output from testmodel.py, exit status != 0: 8.1103052389808 8.124971785 8.029713902 Calling exit ...