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.0007718/0.0007718, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008011/0.0008011, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8481/0.8481, allocations: 177.2 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.03358/0.03358, allocations: 8.602 MB / 268.5 MB, free: 5.113 MB / 250.7 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 1.002e-06/1.002e-06, allocations: 0 / 396.3 MB, free: 2.172 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.649e-05, allocations: 2.281 kB / 396.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.001682/0.001699, allocations: 1.65 MB / 398 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004572/0.002156, allocations: 343.3 kB / 398.3 MB, free: 176 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.002203, allocations: 0 / 398.3 MB, free: 176 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.002229, allocations: 11.81 kB / 398.3 MB, free: 164 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.873e-05/0.002298, allocations: 27.8 kB / 398.3 MB, free: 136 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.002533, allocations: 115.6 kB / 398.5 MB, free: 20 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.002683, allocations: 163.6 kB / 398.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.799e-05/0.002761, allocations: 21.78 kB / 398.6 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.257e-05/0.002834, allocations: 99.61 kB / 398.7 MB, free: 15.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.002901, allocations: 63.78 kB / 398.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.002919, allocations: 12 kB / 398.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.492e-05/0.002994, allocations: 71.94 kB / 398.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.003022, allocations: 47.81 kB / 398.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.003058, allocations: 51.77 kB / 399 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.003255, allocations: 223.4 kB / 399.2 MB, free: 15.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.003256, allocations: 3.938 kB / 399.2 MB, free: 15.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003257, allocations: 0 / 399.2 MB, free: 15.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.00326, allocations: 4 kB / 399.2 MB, free: 15.27 MB / 378.7 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.0004307/0.00369, allocations: 413.4 kB / 399.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.475e-05/0.003715, allocations: 8.031 kB / 399.6 MB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.003755, allocations: 20.84 kB / 399.6 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.003908, allocations: 178 kB / 399.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.003918, allocations: 8.562 kB / 399.8 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.003939, allocations: 12.38 kB / 399.8 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.004169, allocations: 277.7 kB / 400.1 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.004181, allocations: 4 kB / 400.1 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.004191, allocations: 4 kB / 400.1 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004196, allocations: 4 kB / 400.1 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.651e-05/0.004293, allocations: 63.95 kB / 400.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.004736, allocations: 376.1 kB / 400.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.0049, allocations: 130.6 kB / 400.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.004976, allocations: 71.02 kB / 400.7 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.004986, allocations: 4 kB / 400.7 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.005164, allocations: 143.4 kB / 400.9 MB, free: 13.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.293e-06/0.005166, allocations: 0 / 400.9 MB, free: 13.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003381/0.005504, allocations: 259 kB / 401.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.005565, allocations: 166.2 kB / 401.3 MB, free: 12.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.005686, allocations: 207.1 kB / 401.5 MB, free: 12.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.005706, allocations: 37.7 kB / 401.5 MB, free: 12.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.005769, allocations: 120.6 kB / 401.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.005802, allocations: 59.48 kB / 401.7 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.005851, allocations: 53.7 kB / 401.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.005934, allocations: 330.8 kB / 402.1 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/0.005999, allocations: 56.19 kB / 402.1 MB, free: 12.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.006141, allocations: 274.7 kB / 402.4 MB, free: 11.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.006344, allocations: 233.6 kB / 402.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.006346, allocations: 0 / 402.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002277/0.006573, allocations: 249.1 kB / 402.9 MB, free: 11.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.006584, allocations: 11.94 kB / 402.9 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.006588, allocations: 384 / 402.9 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.006602, allocations: 12 kB / 402.9 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.006715, allocations: 51.84 kB / 403 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.006721, allocations: 8 kB / 403 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.006782, allocations: 23.84 kB / 403 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.00679, allocations: 8 kB / 403 MB, free: 11.12 MB / 378.7 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.0001093/0.006899, allocations: 159.7 kB / 403.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.00692, allocations: 27.84 kB / 403.2 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.006947, allocations: 21.8 kB / 403.2 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.006949, allocations: 4 kB / 403.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.006953, allocations: 0 / 403.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006956, allocations: 0 / 403.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.00731, allocations: 462 kB / 403.7 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.007313, allocations: 3.938 kB / 403.7 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-05/0.007388, allocations: 19.98 kB / 403.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007389, allocations: 4 kB / 403.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.007401, allocations: 7.984 kB / 403.7 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.007402, allocations: 0 / 403.7 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.007402, allocations: 4 kB / 403.7 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.00772, allocations: 385.6 kB / 404.1 MB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.007737, allocations: 19.8 kB / 404.1 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.007763, allocations: 11.98 kB / 404.1 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.22e-05/0.007815, allocations: 8 kB / 404.1 MB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.007843, allocations: 11.97 kB / 404.1 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.007853, allocations: 12 kB / 404.1 MB, free: 9.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.092e-05/0.007924, allocations: 144.2 kB / 404.3 MB, free: 9.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007924, allocations: 0 / 404.3 MB, free: 9.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.008126, allocations: 59.92 kB / 404.3 MB, free: 9.715 MB / 378.7 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.0001272/0.008253, allocations: 135.2 kB / 404.5 MB, free: 9.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.008454, allocations: 151.8 kB / 404.6 MB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.008455, allocations: 0 / 404.6 MB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.008536, allocations: 72.59 kB / 404.7 MB, free: 9.355 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.008729, allocations: 53.73 kB / 404.7 MB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.009157, allocations: 364.1 kB / 405.1 MB, free: 8.922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.242e-05/0.009219, allocations: 112.6 kB / 405.2 MB, free: 8.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.00925, allocations: 24.5 kB / 405.2 MB, free: 8.762 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.00925, allocations: 0 / 405.2 MB, free: 8.762 MB / 378.7 MB Notification: Performance of Templates: time 0.002588/0.01184, allocations: 2.565 MB / 407.8 MB, free: 6.199 MB / 378.7 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.375806802883744] Failed to read output from testmodel.py, exit status != 0: 0.01628014538437128 0.024227567000000002 0.019336071 Calling exit ...