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.0009364/0.0009364, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001107/0.001107, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9862/0.9862, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.03836/0.03836, allocations: 8.61 MB / 269.6 MB, free: 4.762 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.312e-06/1.312e-06, allocations: 0 / 342.1 MB, free: 8.125 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.29e-05, allocations: 9.062 kB / 342.1 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.001964/0.001987, allocations: 1.685 MB / 343.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006336/0.00262, allocations: 350.7 kB / 344.1 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.002692, allocations: 0 / 344.1 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.002723, allocations: 11.81 kB / 344.1 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.732e-05/0.00282, allocations: 23.8 kB / 344.2 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.003141, allocations: 123.6 kB / 344.3 MB, free: 5.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.003305, allocations: 151.6 kB / 344.4 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.00341, allocations: 25.77 kB / 344.5 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.91e-05/0.003489, allocations: 99.67 kB / 344.6 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/0.003564, allocations: 59.72 kB / 344.6 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.003587, allocations: 16 kB / 344.6 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.089e-05/0.003678, allocations: 71.94 kB / 344.7 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.003707, allocations: 47.81 kB / 344.7 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.003742, allocations: 51.77 kB / 344.8 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.003911, allocations: 179.5 kB / 345 MB, free: 5.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.003914, allocations: 4 kB / 345 MB, free: 5.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.003914, allocations: 0 / 345 MB, free: 5.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.003918, allocations: 3.938 kB / 345 MB, free: 5.227 MB / 266.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.0004727/0.004391, allocations: 0.4998 MB / 345.5 MB, free: 4.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.004422, allocations: 8.031 kB / 345.5 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/0.004474, allocations: 36.78 kB / 345.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.004602, allocations: 172.8 kB / 345.7 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.004613, allocations: 12.55 kB / 345.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.004637, allocations: 16.38 kB / 345.7 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.004809, allocations: 283 kB / 346 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.004819, allocations: 0 / 346 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.004831, allocations: 0 / 346 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.004837, allocations: 4 kB / 346 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.222e-05/0.004879, allocations: 23.97 kB / 346 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.005284, allocations: 396 kB / 346.4 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.005392, allocations: 91.11 kB / 346.5 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.005433, allocations: 51.59 kB / 346.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.005441, allocations: 0 / 346.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.005551, allocations: 116.9 kB / 346.7 MB, free: 3.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.062e-06/0.005552, allocations: 3.938 kB / 346.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002239/0.005776, allocations: 196.2 kB / 346.9 MB, free: 3.168 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.005817, allocations: 166.2 kB / 347 MB, free: 2.969 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.005897, allocations: 250.1 kB / 347.3 MB, free: 2.707 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.005911, allocations: 33.7 kB / 347.3 MB, free: 2.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.005962, allocations: 183.2 kB / 347.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.005996, allocations: 55.56 kB / 347.5 MB, free: 2.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.00604, allocations: 59.33 kB / 347.6 MB, free: 2.363 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.766e-05/0.006088, allocations: 0.5079 MB / 348.1 MB, free: 1.844 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.006113, allocations: 24.2 kB / 348.1 MB, free: 1.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.006193, allocations: 285.9 kB / 348.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.00631, allocations: 207.7 kB / 348.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.006313, allocations: 0 / 348.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001629/0.006476, allocations: 212.2 kB / 348.8 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.00649, allocations: 8 kB / 348.8 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.006497, allocations: 7.938 kB / 348.8 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.006507, allocations: 4 kB / 348.8 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.006648, allocations: 59.91 kB / 348.9 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.006652, allocations: 4 kB / 348.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.006711, allocations: 20.27 kB / 348.9 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.006719, allocations: 12 kB / 348.9 MB, free: 0.8594 MB / 266.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.0001102/0.006829, allocations: 198.4 kB / 349.1 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.006854, allocations: 27.86 kB / 349.1 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.006885, allocations: 25.73 kB / 349.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.006887, allocations: 0 / 349.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.00689, allocations: 4 kB / 349.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.006894, allocations: 0 / 349.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.007172, allocations: 425.9 kB / 349.6 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.007174, allocations: 4 kB / 349.6 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.00726, allocations: 27.92 kB / 349.6 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007263, allocations: 0 / 349.6 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.007276, allocations: 15.92 kB / 349.6 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.007278, allocations: 0 / 349.6 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007279, allocations: 0 / 349.6 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.007831, allocations: 350.4 kB / 350 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.007852, allocations: 27.73 kB / 350 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.007882, allocations: 11.98 kB / 350 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.007943, allocations: 12 kB / 350 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.007976, allocations: 16 kB / 350 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.007986, allocations: 8 kB / 350 MB, free: 15.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.185e-05/0.008048, allocations: 163.1 kB / 350.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008048, allocations: 0 / 350.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.008259, allocations: 63.86 kB / 350.3 MB, free: 15.44 MB / 282.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.0001369/0.008396, allocations: 133.3 kB / 350.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.008552, allocations: 120 kB / 350.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.008555, allocations: 4 kB / 350.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.008608, allocations: 47.66 kB / 350.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.008819, allocations: 51.44 kB / 350.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.009218, allocations: 329.9 kB / 350.9 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.111e-05/0.009259, allocations: 76.34 kB / 351 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.484e-05/0.009314, allocations: 30.05 kB / 351 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/0.009411, allocations: 106.2 kB / 351.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.009412, allocations: 0 / 351.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of Templates: time 0.00449/0.0139, allocations: 2.792 MB / 353.9 MB, free: 11.77 MB / 282.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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8472951222211123]