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.0006172/0.0006172, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009351/0.001552, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006737/0.0006737, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009325/0.001606, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.971/0.971, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1025/1.073, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.03665/0.03665, allocations: 8.616 MB / 252.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005926/0.04258, allocations: 3.125 MB / 255.9 MB, free: 3.496 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.052e-06/1.052e-06, allocations: 3.938 kB / 257.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.859e-05, allocations: 9.625 kB / 257.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.00194/0.001959, allocations: 1.735 MB / 258.9 MB, free: 464 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004874/0.002446, allocations: 366.5 kB / 259.3 MB, free: 96 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.002492, allocations: 0 / 259.3 MB, free: 96 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.00252, allocations: 15.8 kB / 259.3 MB, free: 80 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.702e-05/0.002577, allocations: 23.75 kB / 259.3 MB, free: 56 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.002773, allocations: 111.8 kB / 259.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.002984, allocations: 159.5 kB / 259.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.603e-05/0.00307, allocations: 26.38 kB / 259.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.003189, allocations: 116.4 kB / 259.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.193e-05/0.003271, allocations: 59.78 kB / 259.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.003294, allocations: 16 kB / 259.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.003411, allocations: 75.94 kB / 259.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/0.003442, allocations: 35.86 kB / 259.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.00348, allocations: 31.88 kB / 259.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.003652, allocations: 151.5 kB / 260.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.003662, allocations: 0 / 260.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003662, allocations: 4 kB / 260.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.00367, allocations: 0 / 260.1 MB, free: 15.28 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.0005527/0.004223, allocations: 419.7 kB / 260.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.004252, allocations: 12.03 kB / 260.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.004296, allocations: 24.91 kB / 260.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.004434, allocations: 155 kB / 260.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.004444, allocations: 16.55 kB / 260.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.004471, allocations: 12.38 kB / 260.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.004671, allocations: 261.4 kB / 261 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.004678, allocations: 4 kB / 261 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.00469, allocations: 7.984 kB / 261 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.004695, allocations: 4 kB / 261 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.292e-05/0.004738, allocations: 19.98 kB / 261 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.005107, allocations: 267.9 kB / 261.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.005216, allocations: 70.53 kB / 261.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.005255, allocations: 36.59 kB / 261.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.005265, allocations: 7.984 kB / 261.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.005389, allocations: 119.2 kB / 261.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.005391, allocations: 0 / 261.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001659/0.005556, allocations: 124.8 kB / 261.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.005593, allocations: 75.27 kB / 261.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/0.00569, allocations: 190.9 kB / 261.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.005707, allocations: 33.7 kB / 261.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.005754, allocations: 116.5 kB / 262 MB, free: 13.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.005924, allocations: 63.45 kB / 262.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.005971, allocations: 53.67 kB / 262.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.006046, allocations: 330.8 kB / 262.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/0.006071, allocations: 20.27 kB / 262.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.006178, allocations: 250.4 kB / 262.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.006307, allocations: 166.9 kB / 262.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.006311, allocations: 4 kB / 262.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001512/0.006462, allocations: 169.2 kB / 263 MB, free: 12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.006474, allocations: 4 kB / 263.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.00648, allocations: 4 kB / 263.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.006491, allocations: 7.938 kB / 263.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.006707, allocations: 71.89 kB / 263.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.006713, allocations: 7.938 kB / 263.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.659e-05/0.00677, allocations: 20.27 kB / 263.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.006779, allocations: 16 kB / 263.2 MB, free: 11.87 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.0001046/0.006884, allocations: 139.7 kB / 263.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.006905, allocations: 19.98 kB / 263.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.006935, allocations: 25.73 kB / 263.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.006938, allocations: 4 kB / 263.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-06/0.006941, allocations: 4 kB / 263.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.006944, allocations: 0 / 263.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.007174, allocations: 298.6 kB / 263.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007175, allocations: 0 / 263.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.007293, allocations: 31.95 kB / 263.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.007311, allocations: 23.78 kB / 263.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.007313, allocations: 0 / 263.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.007327, allocations: 11.98 kB / 263.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.007328, allocations: 0 / 263.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007329, allocations: 3.938 kB / 263.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.00753, allocations: 243.3 kB / 264 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.007555, allocations: 11.98 kB / 264 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.64e-05/0.007611, allocations: 12.03 kB / 264 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.007643, allocations: 11.97 kB / 264 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.007651, allocations: 4 kB / 264 MB, free: 10.99 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.027e-05/0.007691, allocations: 56.56 kB / 264.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007691, allocations: 0 / 264.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.00787, allocations: 55.92 kB / 264.1 MB, free: 10.88 MB / 266.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.0001333/0.008003, allocations: 116 kB / 264.2 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.008151, allocations: 131.7 kB / 264.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.00816, allocations: 4 kB / 264.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-05/0.008217, allocations: 52.77 kB / 264.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.008433, allocations: 171.6 kB / 264.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.008934, allocations: 320 kB / 264.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.898e-05/0.008973, allocations: 77.08 kB / 265 MB, free: 9.949 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.044e-05/0.009023, allocations: 21.95 kB / 265 MB, free: 9.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.362e-05/0.009117, allocations: 91.36 kB / 265.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009117, allocations: 0 / 265.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of Templates: time 0.004674/0.01379, allocations: 2.869 MB / 267.9 MB, free: 7.035 MB / 266.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.366771393455565]