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.001732/0.001732, allocations: 79.97 kB / 19.18 MB, free: 2.527 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.001823/0.001823, allocations: 165.5 kB / 22.46 MB, free: 5.355 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.489/1.489, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.06374/0.06374, allocations: 8.62 MB / 267.8 MB, free: 8.57 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: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 395.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.501e-05/3.757e-05, allocations: 2.281 kB / 395.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.003811/0.003849, allocations: 1.638 MB / 397.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009685/0.004818, allocations: 346.8 kB / 397.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.004944, allocations: 0 / 397.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.717e-05/0.004991, allocations: 11.81 kB / 397.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.005136, allocations: 27.73 kB / 397.6 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.005597, allocations: 119.7 kB / 397.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.005904, allocations: 167.5 kB / 397.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.006033, allocations: 17.78 kB / 397.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.006178, allocations: 99.72 kB / 398 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.006304, allocations: 59.78 kB / 398 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.006339, allocations: 12 kB / 398.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.006488, allocations: 75.88 kB / 398.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.006548, allocations: 43.83 kB / 398.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.596e-05/0.006624, allocations: 55.75 kB / 398.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.006998, allocations: 219.4 kB / 398.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007002, allocations: 0 / 398.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007003, allocations: 4 kB / 398.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.007011, allocations: 0 / 398.4 MB, free: 3.785 MB / 318.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.0009512/0.007962, allocations: 425.4 kB / 398.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.00801, allocations: 8.031 kB / 398.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.591e-05/0.008096, allocations: 20.84 kB / 398.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.008448, allocations: 173.9 kB / 399.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.008474, allocations: 8.547 kB / 399.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.008515, allocations: 12.38 kB / 399.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.008963, allocations: 285.7 kB / 399.4 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.008979, allocations: 4 kB / 399.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.008999, allocations: 0 / 399.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.009005, allocations: 4 kB / 399.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.009187, allocations: 63.95 kB / 399.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.01, allocations: 376.1 kB / 399.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.01028, allocations: 122.7 kB / 399.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.01042, allocations: 68.77 kB / 400 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.01044, allocations: 4 kB / 400 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003423/0.01078, allocations: 142.2 kB / 400.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.01078, allocations: 0 / 400.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006509/0.01143, allocations: 261.4 kB / 400.4 MB, free: 1.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.01157, allocations: 174.1 kB / 400.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.0118, allocations: 206.3 kB / 400.7 MB, free: 1.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.01184, allocations: 37.7 kB / 400.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.01196, allocations: 116.6 kB / 400.9 MB, free: 1.102 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.01203, allocations: 67.47 kB / 401 MB, free: 1.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.01213, allocations: 49.7 kB / 401 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.01232, allocations: 338.8 kB / 401.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.01244, allocations: 48.27 kB / 401.4 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.01273, allocations: 270.4 kB / 401.7 MB, free: 256 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.01316, allocations: 229.9 kB / 401.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.01317, allocations: 0 / 401.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005158/0.01368, allocations: 257 kB / 402.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.01371, allocations: 11.94 kB / 402.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.01372, allocations: 384 / 402.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.01375, allocations: 12 kB / 402.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.01398, allocations: 47.91 kB / 402.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.01399, allocations: 8 kB / 402.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.01413, allocations: 19.89 kB / 402.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.01416, allocations: 15.98 kB / 402.2 MB, free: 15.62 MB / 334.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.0002766/0.01443, allocations: 159.5 kB / 402.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.01449, allocations: 27.88 kB / 402.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.68e-05/0.01454, allocations: 25.8 kB / 402.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01455, allocations: 0 / 402.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.01455, allocations: 0 / 402.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01456, allocations: 0 / 402.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007342/0.01529, allocations: 460.8 kB / 402.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.0153, allocations: 3.938 kB / 402.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.01547, allocations: 23.92 kB / 402.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.01547, allocations: 4 kB / 402.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.0155, allocations: 11.98 kB / 402.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01551, allocations: 4 kB / 402.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.01551, allocations: 0 / 402.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/0.01619, allocations: 375.3 kB / 403.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.01623, allocations: 19.8 kB / 403.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.01628, allocations: 11.98 kB / 403.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.0164, allocations: 8 kB / 403.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.01648, allocations: 19.97 kB / 403.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.0165, allocations: 4 kB / 403.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.01666, allocations: 148.2 kB / 403.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01666, allocations: 0 / 403.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.01703, allocations: 63.98 kB / 403.6 MB, free: 14.22 MB / 334.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.0002858/0.01731, allocations: 139.1 kB / 403.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004229/0.01773, allocations: 151.8 kB / 403.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.01774, allocations: 3.938 kB / 403.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.0179, allocations: 64.72 kB / 403.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.01828, allocations: 56.53 kB / 404 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.01904, allocations: 326.5 kB / 404.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.01916, allocations: 108.6 kB / 404.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.536e-05/0.01925, allocations: 29.94 kB / 404.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.0193, allocations: 20.5 kB / 404.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of SimCode: time 7.01e-07/0.0193, allocations: 0 / 404.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of Templates: time 0.007368/0.02667, allocations: 2.52 MB / 407 MB, free: 10.82 MB / 334.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: 4.4302744045853615] Failed to read output from testmodel.py, exit status != 0: 0.037160731852054596 0.05292608 0.042805749000000004 Calling exit ...