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.001106/0.001106, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001142/0.001142, allocations: 169 kB / 23.02 MB, free: 1.543 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 1.009/1.009, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.05262/0.05262, allocations: 8.61 MB / 268.6 MB, free: 4.906 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 3.787e-06/3.787e-06, allocations: 0 / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.274e-05/3.653e-05, allocations: 6.25 kB / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.003005/0.003042, allocations: 1.693 MB / 342.6 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009605/0.004002, allocations: 346.8 kB / 342.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.702e-05/0.004099, allocations: 4 kB / 342.9 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.204e-05/0.004151, allocations: 11.81 kB / 342.9 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.004279, allocations: 23.73 kB / 342.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.004741, allocations: 115.7 kB / 343 MB, free: 6.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.004968, allocations: 171.5 kB / 343.2 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.005105, allocations: 17.8 kB / 343.2 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.005217, allocations: 95.67 kB / 343.3 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.005322, allocations: 63.77 kB / 343.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.005356, allocations: 16 kB / 343.4 MB, free: 5.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.005495, allocations: 71.94 kB / 343.5 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.005541, allocations: 39.83 kB / 343.5 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.005613, allocations: 55.77 kB / 343.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.005899, allocations: 183.4 kB / 343.7 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.005902, allocations: 0 / 343.7 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005903, allocations: 7.938 kB / 343.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.005909, allocations: 0 / 343.8 MB, free: 5.484 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.0006615/0.006571, allocations: 0.4959 MB / 344.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.006614, allocations: 11.97 kB / 344.3 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.065e-05/0.006705, allocations: 36.78 kB / 344.3 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.006919, allocations: 168.9 kB / 344.5 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.006948, allocations: 16.53 kB / 344.5 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.006995, allocations: 16.38 kB / 344.5 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.007307, allocations: 285.1 kB / 344.8 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.00732, allocations: 4 kB / 344.8 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.00734, allocations: 4 kB / 344.8 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.00735, allocations: 4 kB / 344.8 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.146e-05/0.007442, allocations: 30.22 kB / 344.8 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006933/0.008135, allocations: 431.4 kB / 345.2 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.008316, allocations: 87.19 kB / 345.3 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.192e-05/0.008377, allocations: 47.66 kB / 345.4 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.008388, allocations: 8 kB / 345.4 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.008545, allocations: 129 kB / 345.5 MB, free: 3.555 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.008546, allocations: 0 / 345.5 MB, free: 3.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003452/0.008892, allocations: 208 kB / 345.7 MB, free: 3.348 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.008943, allocations: 174.1 kB / 345.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.009054, allocations: 237.9 kB / 346.1 MB, free: 2.891 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.009073, allocations: 41.69 kB / 346.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.009135, allocations: 175.2 kB / 346.3 MB, free: 2.668 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.009178, allocations: 59.59 kB / 346.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/0.009249, allocations: 59.36 kB / 346.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.009332, allocations: 0.504 MB / 346.9 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.009395, allocations: 24.27 kB / 347 MB, free: 2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.009548, allocations: 294 kB / 347.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.00978, allocations: 223 kB / 347.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.009784, allocations: 3.938 kB / 347.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003166/0.0101, allocations: 221.2 kB / 347.7 MB, free: 1.121 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01012, allocations: 7.938 kB / 347.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.01013, allocations: 4 kB / 347.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.01014, allocations: 4 kB / 347.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.01036, allocations: 59.91 kB / 347.8 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.01037, allocations: 7.938 kB / 347.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.01048, allocations: 23.89 kB / 347.8 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.01049, allocations: 12.38 kB / 347.8 MB, free: 1.004 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.0001567/0.01065, allocations: 198.4 kB / 348 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.0107, allocations: 35.8 kB / 348 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.01074, allocations: 21.8 kB / 348.1 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01075, allocations: 0 / 348.1 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01075, allocations: 0 / 348.1 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.01076, allocations: 0 / 348.1 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.01118, allocations: 469.2 kB / 348.5 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01119, allocations: 7.938 kB / 348.5 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.01132, allocations: 23.98 kB / 348.5 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01132, allocations: 0 / 348.5 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.01134, allocations: 8 kB / 348.6 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01134, allocations: 0 / 348.6 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01134, allocations: 0 / 348.6 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.01178, allocations: 373.8 kB / 348.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.01182, allocations: 27.78 kB / 348.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.01186, allocations: 8 kB / 349 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.01196, allocations: 15.98 kB / 349 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.01201, allocations: 12.02 kB / 349 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.01203, allocations: 15.98 kB / 349 MB, free: 15.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.01215, allocations: 172.1 kB / 349.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01215, allocations: 4 kB / 349.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003834/0.01253, allocations: 51.94 kB / 349.2 MB, free: 15.52 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.0001971/0.01273, allocations: 137.3 kB / 349.4 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.013, allocations: 128 kB / 349.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.01301, allocations: 8.125 kB / 349.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.01311, allocations: 59.59 kB / 349.5 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.01348, allocations: 46.64 kB / 349.6 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006369/0.01411, allocations: 326 kB / 349.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.265e-05/0.01418, allocations: 76.33 kB / 350 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.713e-05/0.01425, allocations: 21.95 kB / 350 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.0143, allocations: 20.5 kB / 350 MB, free: 14.65 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0143, allocations: 0 / 350 MB, free: 14.65 MB / 282.7 MB Notification: Performance of Templates: time 0.006409/0.02071, allocations: 2.696 MB / 352.7 MB, free: 12.01 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.8829292422160506]