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.001545/0.001545, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00163/0.00163, allocations: 212 kB / 22.24 MB, free: 4.855 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.665/1.665, allocations: 230.6 MB / 256 MB, free: 7.809 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.09373/0.09373, allocations: 11.34 MB / 323.8 MB, free: 8.031 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.002143/0.002143, allocations: 63.91 kB / 451.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1353, allocations: 56.07 MB / 0.4956 GB, free: 1.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.003233/0.1385, allocations: 1.649 MB / 0.4972 GB, free: 4 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007844/0.1393, allocations: 342.8 kB / 0.4976 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.1393, allocations: 0 / 0.4976 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.337e-05/0.1394, allocations: 11.81 kB / 0.4976 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.1395, allocations: 23.8 kB / 0.4976 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.1399, allocations: 119.7 kB / 0.4977 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.1401, allocations: 159.5 kB / 0.4979 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1403, allocations: 21.8 kB / 0.4979 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.596e-05/0.1403, allocations: 71.7 kB / 0.498 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1405, allocations: 75.55 kB / 0.498 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.1405, allocations: 12 kB / 0.498 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.1407, allocations: 75.92 kB / 0.4981 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.1407, allocations: 47.77 kB / 0.4982 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.841e-05/0.1408, allocations: 51.73 kB / 0.4982 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.1411, allocations: 207.2 kB / 0.4984 GB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1411, allocations: 3.938 kB / 0.4984 GB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1411, allocations: 0 / 0.4984 GB, free: 14.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1411, allocations: 3.938 kB / 0.4984 GB, free: 14.8 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.000785/0.1419, allocations: 417.5 kB / 0.4988 GB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1419, allocations: 12.03 kB / 0.4988 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.142, allocations: 24.8 kB / 0.4988 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.1423, allocations: 186.1 kB / 0.499 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1423, allocations: 4.562 kB / 0.499 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.1423, allocations: 12.38 kB / 0.499 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.1427, allocations: 277 kB / 0.4993 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1427, allocations: 0 / 0.4993 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.1428, allocations: 4 kB / 0.4993 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1428, allocations: 4 kB / 0.4993 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.1429, allocations: 63.89 kB / 0.4994 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007629/0.1437, allocations: 368.2 kB / 0.4997 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.144, allocations: 126.8 kB / 0.4998 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.1441, allocations: 72.77 kB / 0.4999 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1441, allocations: 4 kB / 0.4999 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003342/0.1445, allocations: 143.3 kB / 0.5001 GB, free: 12.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.1445, allocations: 0 / 0.5001 GB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.000572/0.145, allocations: 259.5 kB / 0.5003 GB, free: 12.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.1452, allocations: 170.2 kB / 0.5005 GB, free: 12.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.1454, allocations: 199.2 kB / 0.5007 GB, free: 12.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.1454, allocations: 41.69 kB / 0.5007 GB, free: 12.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1455, allocations: 124.4 kB / 0.5008 GB, free: 12.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.1456, allocations: 55.59 kB / 0.5009 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.1457, allocations: 53.7 kB / 0.5009 GB, free: 12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1458, allocations: 334.8 kB / 0.5012 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.1459, allocations: 48.25 kB / 0.5013 GB, free: 11.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.1462, allocations: 274.7 kB / 0.5015 GB, free: 11.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.1466, allocations: 233.2 kB / 0.5018 GB, free: 11.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1466, allocations: 4 kB / 0.5018 GB, free: 11 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004063/0.147, allocations: 245.2 kB / 0.502 GB, free: 10.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.147, allocations: 4 kB / 0.502 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.147, allocations: 4 kB / 0.502 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.147, allocations: 4.375 kB / 0.502 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.1473, allocations: 55.91 kB / 0.5021 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1473, allocations: 7.938 kB / 0.5021 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1474, allocations: 31.88 kB / 0.5021 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.1474, allocations: 19.92 kB / 0.5021 GB, free: 10.63 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.0002116/0.1476, allocations: 151.3 kB / 0.5023 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.1477, allocations: 15.91 kB / 0.5023 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.1477, allocations: 21.8 kB / 0.5023 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1477, allocations: 8 kB / 0.5023 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1477, allocations: 0 / 0.5023 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1477, allocations: 0 / 0.5023 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006406/0.1484, allocations: 465.9 kB / 0.5028 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1484, allocations: 0 / 0.5028 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1485, allocations: 23.98 kB / 0.5028 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1485, allocations: 4 kB / 0.5028 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.1485, allocations: 7.984 kB / 0.5028 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.1485, allocations: 4 kB / 0.5028 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1485, allocations: 0 / 0.5028 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006048/0.1492, allocations: 385.4 kB / 0.5032 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.1492, allocations: 19.92 kB / 0.5032 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.1492, allocations: 11.94 kB / 0.5032 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1493, allocations: 7.984 kB / 0.5032 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.1494, allocations: 11.98 kB / 0.5032 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1494, allocations: 11.98 kB / 0.5032 GB, free: 9.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.1496, allocations: 144.5 kB / 0.5034 GB, free: 9.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1496, allocations: 0 / 0.5034 GB, free: 9.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.1499, allocations: 47.94 kB / 0.5034 GB, free: 9.258 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.0002128/0.1501, allocations: 147.1 kB / 0.5035 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.1504, allocations: 155.7 kB / 0.5037 GB, free: 8.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1504, allocations: 0 / 0.5037 GB, free: 8.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1506, allocations: 74.25 kB / 0.5038 GB, free: 8.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1509, allocations: 38.22 kB / 0.5038 GB, free: 8.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000647/0.1515, allocations: 348.4 kB / 0.5041 GB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.1517, allocations: 120.3 kB / 0.5043 GB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.777e-05/0.1517, allocations: 25.95 kB / 0.5043 GB, free: 8.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.1518, allocations: 19.44 kB / 0.5043 GB, free: 8.297 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1518, allocations: 0 / 0.5043 GB, free: 8.297 MB / 382.1 MB Notification: Performance of Templates: time 0.006564/0.1583, allocations: 2.625 MB / 0.5069 GB, free: 5.715 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: 5.323933124542236] Failed to read output from testmodel.py, exit status != 0: 0.16702257096767426 0.41910383900000003 0.274879837 Calling exit ...