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.002016/0.002016, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.00231/0.00231, allocations: 161 kB / 23.01 MB, free: 4.945 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.546/1.546, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.08027/0.08027, allocations: 8.62 MB / 268.4 MB, free: 8.504 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.002054/0.002054, allocations: 67.89 kB / 396.1 MB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1151, allocations: 56.04 MB / 452.1 MB, free: 15.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.00304/0.1181, allocations: 1.649 MB / 453.8 MB, free: 14.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007927/0.1189, allocations: 342.8 kB / 454.1 MB, free: 13.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.12e-05/0.119, allocations: 3.938 kB / 454.1 MB, free: 13.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.319e-05/0.119, allocations: 11.81 kB / 454.1 MB, free: 13.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1192, allocations: 27.8 kB / 454.1 MB, free: 13.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.1196, allocations: 115.7 kB / 454.3 MB, free: 13.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.1198, allocations: 159.6 kB / 454.4 MB, free: 13.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1199, allocations: 13.81 kB / 454.4 MB, free: 13.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.12, allocations: 75.64 kB / 454.5 MB, free: 13.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1201, allocations: 79.53 kB / 454.6 MB, free: 13.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.1202, allocations: 12 kB / 454.6 MB, free: 13.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.1203, allocations: 79.94 kB / 454.7 MB, free: 13.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.1203, allocations: 35.89 kB / 454.7 MB, free: 13.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.766e-05/0.1204, allocations: 67.58 kB / 454.8 MB, free: 13.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.1207, allocations: 199.2 kB / 455 MB, free: 12.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1207, allocations: 3.984 kB / 455 MB, free: 12.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1207, allocations: 0 / 455 MB, free: 12.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1207, allocations: 0 / 455 MB, free: 12.9 MB / 430.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.0007969/0.1215, allocations: 413.4 kB / 455.4 MB, free: 12.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1216, allocations: 12.03 kB / 455.4 MB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.1216, allocations: 24.8 kB / 455.4 MB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.1219, allocations: 170.9 kB / 455.6 MB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1219, allocations: 12.5 kB / 455.6 MB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.122, allocations: 16.36 kB / 455.6 MB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.1224, allocations: 273 kB / 455.9 MB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1224, allocations: 3.984 kB / 455.9 MB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.1224, allocations: 3.984 kB / 455.9 MB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1224, allocations: 4 kB / 455.9 MB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.1226, allocations: 59.91 kB / 455.9 MB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.1234, allocations: 384.1 kB / 456.3 MB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.1237, allocations: 126.8 kB / 456.4 MB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.1238, allocations: 72.75 kB / 456.5 MB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.1238, allocations: 4 kB / 456.5 MB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003624/0.1242, allocations: 153.8 kB / 456.7 MB, free: 11.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.1242, allocations: 0 / 456.7 MB, free: 11.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005808/0.1248, allocations: 261.4 kB / 456.9 MB, free: 10.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.1249, allocations: 162.2 kB / 457.1 MB, free: 10.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.1252, allocations: 199.1 kB / 457.3 MB, free: 10.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.1252, allocations: 41.7 kB / 457.3 MB, free: 10.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1253, allocations: 124.5 kB / 457.4 MB, free: 10.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.1254, allocations: 55.59 kB / 457.5 MB, free: 10.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.1255, allocations: 53.69 kB / 457.5 MB, free: 10.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1256, allocations: 334.8 kB / 457.9 MB, free: 9.762 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1258, allocations: 48.25 kB / 457.9 MB, free: 9.711 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.126, allocations: 270.4 kB / 458.2 MB, free: 9.371 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.1264, allocations: 234.5 kB / 458.4 MB, free: 9.105 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1264, allocations: 0 / 458.4 MB, free: 9.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004319/0.1268, allocations: 253.2 kB / 458.7 MB, free: 8.852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1269, allocations: 4 kB / 458.7 MB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.1269, allocations: 4 kB / 458.7 MB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1269, allocations: 4 kB / 458.7 MB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.1271, allocations: 47.92 kB / 458.7 MB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.1271, allocations: 7.984 kB / 458.7 MB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.1273, allocations: 35.72 kB / 458.8 MB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.1273, allocations: 12.31 kB / 458.8 MB, free: 8.738 MB / 430.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.0002036/0.1275, allocations: 155.6 kB / 458.9 MB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.1275, allocations: 19.86 kB / 458.9 MB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.1276, allocations: 17.86 kB / 459 MB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1276, allocations: 7.984 kB / 459 MB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.1276, allocations: 3.984 kB / 459 MB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1276, allocations: 3.938 kB / 459 MB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/0.1282, allocations: 464.5 kB / 459.4 MB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1282, allocations: 4 kB / 459.4 MB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1284, allocations: 23.92 kB / 459.5 MB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.1284, allocations: 4 kB / 459.5 MB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1284, allocations: 4 kB / 459.5 MB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.1284, allocations: 7.984 kB / 459.5 MB, free: 8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1284, allocations: 0 / 459.5 MB, free: 8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.129, allocations: 375.2 kB / 459.8 MB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.129, allocations: 23.88 kB / 459.9 MB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.1291, allocations: 8 kB / 459.9 MB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1292, allocations: 12.05 kB / 459.9 MB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.1293, allocations: 11.98 kB / 459.9 MB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.1293, allocations: 15.98 kB / 459.9 MB, free: 7.547 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.1294, allocations: 152.2 kB / 460.1 MB, free: 7.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1294, allocations: 0 / 460.1 MB, free: 7.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.1297, allocations: 55.88 kB / 460.1 MB, free: 7.344 MB / 430.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.0002157/0.13, allocations: 135.1 kB / 460.2 MB, free: 7.199 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000344/0.1303, allocations: 155.9 kB / 460.4 MB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1303, allocations: 0 / 460.4 MB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.1305, allocations: 67.91 kB / 460.5 MB, free: 6.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1308, allocations: 36.61 kB / 460.5 MB, free: 6.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.1315, allocations: 352.2 kB / 460.8 MB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.1316, allocations: 117.2 kB / 461 MB, free: 6.449 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.893e-05/0.1317, allocations: 25.94 kB / 461 MB, free: 6.426 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.1317, allocations: 24.5 kB / 461 MB, free: 6.402 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1317, allocations: 0 / 461 MB, free: 6.402 MB / 430.1 MB Notification: Performance of Templates: time 0.00665/0.1384, allocations: 2.52 MB / 463.5 MB, free: 3.926 MB / 430.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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.703993106959388] Failed to read output from testmodel.py, exit status != 0: 0.1470990909729153 0.162898243 0.039138945 Calling exit ...