Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.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.001804/0.001804, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002497/0.002497, allocations: 217 kB / 23.01 MB, free: 4.609 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.06406/0.06406, allocations: 11.35 MB / 324.5 MB, free: 8.266 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: translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") [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.001997/0.001997, allocations: 63.91 kB / 452.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1201, allocations: 56.07 MB / 0.4964 GB, free: 1.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.003066/0.1232, allocations: 1.706 MB / 0.4981 GB, free: 188 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008097/0.124, allocations: 366.8 kB / 0.4985 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.1241, allocations: 3.938 kB / 0.4985 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.573e-05/0.1241, allocations: 11.81 kB / 0.4985 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.1242, allocations: 23.8 kB / 0.4985 GB, free: 15.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.1246, allocations: 119.5 kB / 0.4986 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.1249, allocations: 159.6 kB / 0.4988 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.125, allocations: 17.81 kB / 0.4988 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.1251, allocations: 75.64 kB / 0.4989 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.1252, allocations: 83.55 kB / 0.4989 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.1253, allocations: 16 kB / 0.499 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.1254, allocations: 79.92 kB / 0.499 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.1255, allocations: 35.89 kB / 0.4991 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.865e-05/0.1256, allocations: 87.45 kB / 0.4991 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.1259, allocations: 191.2 kB / 0.4993 GB, free: 14.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1259, allocations: 0 / 0.4993 GB, free: 14.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1259, allocations: 0 / 0.4993 GB, free: 14.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.126, allocations: 3.984 kB / 0.4993 GB, free: 14.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008504/0.1268, allocations: 417.4 kB / 0.4997 GB, free: 14.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1269, allocations: 8.031 kB / 0.4997 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.359e-05/0.1269, allocations: 28.8 kB / 0.4998 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.1272, allocations: 178.2 kB / 0.4999 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.1273, allocations: 12.56 kB / 0.4999 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.1273, allocations: 12.36 kB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.1277, allocations: 174.1 kB / 0.5001 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.1277, allocations: 0 / 0.5001 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.1277, allocations: 11.98 kB / 0.5001 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1277, allocations: 0 / 0.5001 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.1279, allocations: 58.41 kB / 0.5002 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008881/0.1288, allocations: 439.7 kB / 0.5006 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.1291, allocations: 118.6 kB / 0.5007 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.1292, allocations: 64.83 kB / 0.5008 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1292, allocations: 11.94 kB / 0.5008 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004073/0.1296, allocations: 139.3 kB / 0.5009 GB, free: 13.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.1296, allocations: 0 / 0.5009 GB, free: 13.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005985/0.1302, allocations: 267.6 kB / 0.5012 GB, free: 12.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.1304, allocations: 170.2 kB / 0.5013 GB, free: 12.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.1306, allocations: 207.1 kB / 0.5015 GB, free: 12.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.1306, allocations: 33.7 kB / 0.5016 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1307, allocations: 124.5 kB / 0.5017 GB, free: 12.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.1308, allocations: 59.53 kB / 0.5018 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.1309, allocations: 57.7 kB / 0.5018 GB, free: 12.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.131, allocations: 330.8 kB / 0.5021 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.1311, allocations: 48.27 kB / 0.5022 GB, free: 11.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.1313, allocations: 164 kB / 0.5023 GB, free: 11.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.1317, allocations: 230.9 kB / 0.5025 GB, free: 11.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1317, allocations: 0 / 0.5025 GB, free: 11.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004029/0.1321, allocations: 259.9 kB / 0.5028 GB, free: 11.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.1321, allocations: 10.5 kB / 0.5028 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1321, allocations: 0 / 0.5028 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.1322, allocations: 8 kB / 0.5028 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.1324, allocations: 44.28 kB / 0.5029 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1324, allocations: 12 kB / 0.5029 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1325, allocations: 23.84 kB / 0.5029 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.1326, allocations: 12 kB / 0.5029 GB, free: 10.96 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: cplxP_dig_TU.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_FE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_BE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cplxP_dig_TU.u_pre1,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_FE.u_pre1,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_BE.u_pre1,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,$PRE.cplxP_dig_BE.y_pre1,$whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_TU.y,$PRE.cplxP_dig_TU.y,cplxP_dig_FE.y,$PRE.cplxP_dig_FE.y,cplxP_dig_BE.y,$PRE.cplxP_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002182/0.1328, allocations: 163.3 kB / 0.5031 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.1328, allocations: 15.91 kB / 0.5031 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.1329, allocations: 21.8 kB / 0.5031 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1329, allocations: 7.938 kB / 0.5031 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1329, allocations: 4 kB / 0.5031 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1329, allocations: 0 / 0.5031 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/0.1336, allocations: 0.4974 MB / 0.5036 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1336, allocations: 0 / 0.5036 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.1337, allocations: 23.98 kB / 0.5036 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1337, allocations: 3.938 kB / 0.5036 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.1337, allocations: 15.98 kB / 0.5036 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1338, allocations: 0 / 0.5036 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1338, allocations: 3.938 kB / 0.5036 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.1343, allocations: 381.6 kB / 0.504 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.1344, allocations: 19.88 kB / 0.504 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.1344, allocations: 11.98 kB / 0.504 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1345, allocations: 11.94 kB / 0.504 GB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.1346, allocations: 15.91 kB / 0.5041 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.1346, allocations: 12 kB / 0.5041 GB, free: 9.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.1348, allocations: 144.5 kB / 0.5042 GB, free: 9.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1348, allocations: 0 / 0.5042 GB, free: 9.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003313/0.1351, allocations: 55.92 kB / 0.5043 GB, free: 9.492 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (cplxP.y,cplxP.dy) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_BE.y,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,cplxP_dig_FE.y,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,cplxP_dig_TU.y,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1) * Number of discrete states: 12 (cplxP_dig_TU.u,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y,cplxP_dig_TU.y_pre1,cplxP_dig_FE.u,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y,cplxP_dig_FE.y_pre1,cplxP_dig_BE.u,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y,cplxP_dig_BE.y_pre1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001997/0.1353, allocations: 135.1 kB / 0.5044 GB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.1357, allocations: 156.4 kB / 0.5045 GB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1357, allocations: 4.125 kB / 0.5045 GB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.1358, allocations: 67.91 kB / 0.5046 GB, free: 9.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1361, allocations: 31.97 kB / 0.5046 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007962/0.1369, allocations: 380.1 kB / 0.505 GB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.1374, allocations: 0.7283 MB / 0.5057 GB, free: 7.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.1374, allocations: 23.42 kB / 0.5057 GB, free: 7.914 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1374, allocations: 4 kB / 0.5057 GB, free: 7.91 MB / 382.1 MB Notification: Performance of Templates: time 0.005113/0.1425, allocations: 2.506 MB / 0.5082 GB, free: 5.41 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.213563676923513] Failed to read output from testmodel.py, exit status != 0: 0.15177151816897094 0.34588694 0.21719643300000002 Calling exit ...