Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.dz.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.001299/0.001299, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001351/0.001351, allocations: 161 kB / 23.01 MB, free: 4.602 MB / 14.72 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.405/1.405, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1044/0.1044, allocations: 17.8 MB / 277.6 MB, free: 15.33 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Devel_test_models.dz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.dz") translateModel(AES.Devel_test_models.dz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.dz") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.89 kB / 415.4 MB, free: 3.684 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.09504, allocations: 59.54 MB / 475 MB, free: 8.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.dz): time 0.0031/0.09814, allocations: 1.901 MB / 476.9 MB, free: 6.109 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000504/0.09865, allocations: 215.3 kB / 477.1 MB, free: 5.898 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.09874, allocations: 4 kB / 477.1 MB, free: 5.895 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.777e-05/0.09879, allocations: 15.75 kB / 477.1 MB, free: 5.879 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.09899, allocations: 39.66 kB / 477.2 MB, free: 5.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.09924, allocations: 111.2 kB / 477.3 MB, free: 5.734 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.09948, allocations: 171.6 kB / 477.4 MB, free: 5.566 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.09963, allocations: 55.25 kB / 477.5 MB, free: 5.508 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.92e-05/0.09972, allocations: 67.66 kB / 477.6 MB, free: 5.441 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.09982, allocations: 63.62 kB / 477.6 MB, free: 5.379 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.09985, allocations: 16 kB / 477.6 MB, free: 5.363 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.816e-05/0.09988, allocations: 16 kB / 477.6 MB, free: 5.348 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.09993, allocations: 35.84 kB / 477.7 MB, free: 5.309 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.708e-05/0.09999, allocations: 63.66 kB / 477.7 MB, free: 5.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.1002, allocations: 175.2 kB / 477.9 MB, free: 5.074 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1002, allocations: 0 / 477.9 MB, free: 5.074 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1002, allocations: 0 / 477.9 MB, free: 5.074 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1002, allocations: 0 / 477.9 MB, free: 5.074 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006564/0.1009, allocations: 401.4 kB / 478.3 MB, free: 4.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1009, allocations: 12.92 kB / 478.3 MB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.101, allocations: 24.8 kB / 478.3 MB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.1013, allocations: 186.2 kB / 478.5 MB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1013, allocations: 8.375 kB / 478.5 MB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.1013, allocations: 16.33 kB / 478.5 MB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.1017, allocations: 202.6 kB / 478.7 MB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1017, allocations: 192 / 478.7 MB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.1017, allocations: 7.938 kB / 478.8 MB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1017, allocations: 8 kB / 478.8 MB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.1021, allocations: 111.9 kB / 478.9 MB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009001/0.103, allocations: 479.2 kB / 479.3 MB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.1036, allocations: 170.5 kB / 479.5 MB, free: 3.363 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.1037, allocations: 64.8 kB / 479.6 MB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1037, allocations: 0 / 479.6 MB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1038, allocations: 34.56 kB / 479.6 MB, free: 3.254 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.1038, allocations: 4 kB / 479.6 MB, free: 3.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005937/0.1044, allocations: 201.8 kB / 479.8 MB, free: 3.047 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.1044, allocations: 77.11 kB / 479.9 MB, free: 2.953 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.1046, allocations: 171.3 kB / 480 MB, free: 2.777 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.1046, allocations: 29.7 kB / 480.1 MB, free: 2.742 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.206e-05/0.1047, allocations: 139.6 kB / 480.2 MB, free: 2.602 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.1048, allocations: 43.58 kB / 480.3 MB, free: 2.559 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.1048, allocations: 37.66 kB / 480.3 MB, free: 2.516 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.105, allocations: 330.8 kB / 480.6 MB, free: 2.184 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.1051, allocations: 56.83 kB / 480.7 MB, free: 2.125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.1053, allocations: 100.2 kB / 480.8 MB, free: 2.012 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009391/0.1063, allocations: 257.5 kB / 481 MB, free: 1.754 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1063, allocations: 0 / 481 MB, free: 1.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004342/0.1067, allocations: 188.6 kB / 481.2 MB, free: 1.566 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1067, allocations: 7.938 kB / 481.2 MB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1067, allocations: 0 / 481.2 MB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1067, allocations: 0 / 481.2 MB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.1069, allocations: 39.91 kB / 481.3 MB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1069, allocations: 4 kB / 481.3 MB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.107, allocations: 23.88 kB / 481.3 MB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.107, allocations: 4.031 kB / 481.3 MB, free: 1.488 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: Aplus.y:VARIABLE(flow=false start = Aplus.y_start fixed = true ) \"Connector of Real output signal\" type: Real Aminus.y:VARIABLE(flow=false start = Aminus.y_start fixed = true ) \"Connector of Real output signal\" type: Real P.y:VARIABLE(flow=false start = P.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000232/0.1073, allocations: 144.6 kB / 481.4 MB, free: 1.344 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001423/0.1074, allocations: 84.25 kB / 481.5 MB, free: 1.246 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007322/0.1082, allocations: 225.5 kB / 481.7 MB, free: 1.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.1082, allocations: 0 / 481.7 MB, free: 1.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0003266/0.1085, allocations: 160.3 kB / 481.9 MB, free: 0.8594 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/0.1085, allocations: 4 kB / 481.9 MB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-06/0.1085, allocations: 4.031 kB / 481.9 MB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.1085, allocations: 7.938 kB / 481.9 MB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1087, allocations: 35.92 kB / 481.9 MB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-06/0.1087, allocations: 0 / 481.9 MB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1088, allocations: 19.88 kB / 482 MB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1088, allocations: 4 kB / 482 MB, free: 0.7852 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: Aplus.y:VARIABLE(flow=false start = Aplus.y_start fixed = true ) \"Connector of Real output signal\" type: Real Aminus.y:VARIABLE(flow=false start = Aminus.y_start fixed = true ) \"Connector of Real output signal\" type: Real P.y:VARIABLE(flow=false start = P.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001357/0.1089, allocations: 196.7 kB / 482.1 MB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.1089, allocations: 15.84 kB / 482.2 MB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.1094, allocations: 170.9 kB / 482.3 MB, free: 408 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1094, allocations: 0 / 482.3 MB, free: 408 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1094, allocations: 0 / 482.3 MB, free: 408 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1094, allocations: 0 / 482.3 MB, free: 408 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.1096, allocations: 173.2 kB / 482.5 MB, free: 204 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1096, allocations: 0 / 482.5 MB, free: 204 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.1098, allocations: 39.91 kB / 482.5 MB, free: 164 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1098, allocations: 0 / 482.5 MB, free: 164 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.1098, allocations: 7.938 kB / 482.5 MB, free: 156 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1098, allocations: 0 / 482.5 MB, free: 156 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1098, allocations: 4 kB / 482.5 MB, free: 152 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1738/0.2837, allocations: 316.9 kB / 482.9 MB, free: 52.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.2837, allocations: 16.19 kB / 482.9 MB, free: 52.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.2837, allocations: 10.16 kB / 482.9 MB, free: 52.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.2839, allocations: 9.938 kB / 482.9 MB, free: 52.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.2839, allocations: 9.984 kB / 482.9 MB, free: 52.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2839, allocations: 6.219 kB / 482.9 MB, free: 52.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.792e-05/0.284, allocations: 122.5 kB / 483 MB, free: 52.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.284, allocations: 0 / 483 MB, free: 52.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.2843, allocations: 54.25 kB / 483.1 MB, free: 52.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (C.FO.y,Aplus.y,Aminus.y,P.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 6.328e-05/0.2844, allocations: 103.3 kB / 483.2 MB, free: 52.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004645/0.2848, allocations: 179 kB / 483.4 MB, free: 52.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2848, allocations: 0 / 483.4 MB, free: 52.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.285, allocations: 67.5 kB / 483.4 MB, free: 52.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.2854, allocations: 43.39 kB / 483.5 MB, free: 52.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007441/0.2861, allocations: 399.5 kB / 483.9 MB, free: 51.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.375e-05/0.2862, allocations: 114.4 kB / 484 MB, free: 51.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.248e-05/0.2862, allocations: 18.72 kB / 484 MB, free: 51.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.2863, allocations: 15.16 kB / 484 MB, free: 51.77 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2863, allocations: 0 / 484 MB, free: 51.77 MB / 446.1 MB Notification: Performance of Templates: time 0.004192/0.2905, allocations: 1.797 MB / 485.8 MB, free: 51.67 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.dz.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.dz.pipe ; mkfifo AES_AES.Devel_test_models.dz.pipe ; head -c 1048576 < AES_AES.Devel_test_models.dz.pipe >> ../files/AES_AES.Devel_test_models.dz.sim & ./AES_AES.Devel_test_models.dz -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > AES_AES.Devel_test_models.dz.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.427330649923533] Failed to read output from testmodel.py, exit status != 0: 0.2978386169997975 0.30649084400000004 0.20413156600000001 Calling exit ...