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.0008394/0.0008394, allocations: 76.94 kB / 19.93 MB, free: 4.543 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.0009089/0.0009089, allocations: 172.9 kB / 23.36 MB, free: 1.125 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.8677/0.8677, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.03955/0.03955, allocations: 8.629 MB / 268.9 MB, free: 4.789 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.132e-06/1.132e-06, allocations: 0 / 288 MB, free: 1.629 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.286e-05, allocations: 2.312 kB / 288 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.0965/0.09651, allocations: 1.687 MB / 289.7 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006933/0.0972, allocations: 353.8 kB / 290.1 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.09727, allocations: 6.219 kB / 290.1 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.09731, allocations: 12.42 kB / 290.1 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.09741, allocations: 26.83 kB / 290.1 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.09778, allocations: 112.9 kB / 290.2 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.09796, allocations: 159.8 kB / 290.4 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.09805, allocations: 18.66 kB / 290.4 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.798e-05/0.09815, allocations: 98.78 kB / 290.5 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.09823, allocations: 61.39 kB / 290.6 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.09826, allocations: 15.12 kB / 290.6 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.09837, allocations: 77.91 kB / 290.6 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.09841, allocations: 43.34 kB / 290.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.09845, allocations: 54.09 kB / 290.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.09866, allocations: 183 kB / 290.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.09866, allocations: 1.031 kB / 290.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09866, allocations: 3.938 kB / 290.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.09867, allocations: 0 / 290.9 MB, free: 19.07 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.0004575/0.09912, allocations: 378 kB / 291.3 MB, free: 18.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.09915, allocations: 9.922 kB / 291.3 MB, free: 18.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.0992, allocations: 27.05 kB / 291.3 MB, free: 18.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.09933, allocations: 159.7 kB / 291.5 MB, free: 18.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.09934, allocations: 10.66 kB / 291.5 MB, free: 18.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.09937, allocations: 19.38 kB / 291.5 MB, free: 18.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.09954, allocations: 257.6 kB / 291.8 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.09955, allocations: 4.75 kB / 291.8 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.09956, allocations: 7.734 kB / 291.8 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.09957, allocations: 2.188 kB / 291.8 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.544e-05/0.09962, allocations: 26.55 kB / 291.8 MB, free: 18.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.09998, allocations: 256.7 kB / 292.1 MB, free: 18.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1001, allocations: 77.62 kB / 292.1 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.1001, allocations: 30.14 kB / 292.2 MB, free: 18.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.1001, allocations: 5.078 kB / 292.2 MB, free: 18.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.1003, allocations: 116.3 kB / 292.3 MB, free: 18.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.1003, allocations: 0 / 292.3 MB, free: 18.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001784/0.1004, allocations: 131.2 kB / 292.4 MB, free: 18.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.1005, allocations: 164.8 kB / 292.6 MB, free: 17.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.1006, allocations: 198 kB / 292.8 MB, free: 17.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1006, allocations: 35.09 kB / 292.8 MB, free: 17.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.1006, allocations: 112 kB / 292.9 MB, free: 17.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.1006, allocations: 56.83 kB / 293 MB, free: 17.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.1007, allocations: 63.19 kB / 293 MB, free: 17.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.431e-05/0.1007, allocations: 334.1 kB / 293.4 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.1008, allocations: 19.11 kB / 293.4 MB, free: 17.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.1008, allocations: 241.1 kB / 293.6 MB, free: 17.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1009, allocations: 171.4 kB / 293.8 MB, free: 16.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1009, allocations: 6.812 kB / 293.8 MB, free: 16.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001627/0.1011, allocations: 161.7 kB / 293.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1011, allocations: 9.875 kB / 294 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1011, allocations: 4 kB / 294 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1011, allocations: 9.438 kB / 294 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.1013, allocations: 57.78 kB / 294 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1013, allocations: 5.609 kB / 294 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.1013, allocations: 32.25 kB / 294.1 MB, free: 16.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1014, allocations: 8.281 kB / 294.1 MB, free: 16.88 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 9.209e-05/0.1014, allocations: 138.9 kB / 294.2 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.1015, allocations: 19.06 kB / 294.2 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.1015, allocations: 21.61 kB / 294.2 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1015, allocations: 7.484 kB / 294.2 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1015, allocations: 1.406 kB / 294.2 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1015, allocations: 1.938 kB / 294.3 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.1017, allocations: 297 kB / 294.5 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1017, allocations: 0 / 294.5 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.1018, allocations: 24.97 kB / 294.6 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1018, allocations: 2.594 kB / 294.6 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1018, allocations: 9.172 kB / 294.6 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1018, allocations: 1.25 kB / 294.6 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1018, allocations: 3.391 kB / 294.6 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.102, allocations: 234.5 kB / 294.8 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.102, allocations: 18.38 kB / 294.8 MB, free: 16.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1021, allocations: 15.69 kB / 294.8 MB, free: 16.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-05/0.1021, allocations: 6.078 kB / 294.8 MB, free: 16.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.1021, allocations: 14.14 kB / 294.9 MB, free: 16.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.619e-06/0.1021, allocations: 6.703 kB / 294.9 MB, free: 16.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.462e-05/0.1022, allocations: 57.39 kB / 294.9 MB, free: 16.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1022, allocations: 1.438 kB / 294.9 MB, free: 16.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.1024, allocations: 53.55 kB / 295 MB, free: 16.39 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.0001228/0.1025, allocations: 126.2 kB / 295.1 MB, free: 16.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.1026, allocations: 104.8 kB / 295.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.1027, allocations: 4.375 kB / 295.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.582e-05/0.1027, allocations: 54.78 kB / 295.3 MB, free: 16.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.1029, allocations: 46.53 kB / 295.3 MB, free: 16.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.1032, allocations: 319 kB / 295.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.491e-05/0.1033, allocations: 76.06 kB / 295.7 MB, free: 16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.784e-05/0.1033, allocations: 28.59 kB / 295.7 MB, free: 16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.1034, allocations: 90.69 kB / 295.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of SimCode: time 5.42e-07/0.1034, allocations: 1.188 kB / 295.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of Templates: time 0.00449/0.1079, allocations: 2.724 MB / 298.5 MB, free: 15.74 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.4790527438744903]